POST api/Reports/UpdateGroupsForReportAscii?pInsurType={pInsurType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pInsurType

string

Required

Body Parameters

Collection of GroupsForReportAscii
NameDescriptionTypeAdditional information
groups_num

integer

None.

insurtype

string

String length: inclusive between 0 and 12

emplcode

integer

None.

mark

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

invoice

string

String length: inclusive between 0 and 12

invoice_date

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2019-10-22T06:10:51.662559+03:00"
  },
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2019-10-22T06:10:51.662559+03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroupsForReportAscii xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <GroupsForReportAscii>
    <emplcode>3</emplcode>
    <groups_num>1</groups_num>
    <insurtype>sample string 2</insurtype>
    <invoice>sample string 5</invoice>
    <invoice_date>2019-10-22T06:10:51.662559+03:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
  <GroupsForReportAscii>
    <emplcode>3</emplcode>
    <groups_num>1</groups_num>
    <insurtype>sample string 2</insurtype>
    <invoice>sample string 5</invoice>
    <invoice_date>2019-10-22T06:10:51.662559+03:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
</ArrayOfGroupsForReportAscii>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of GroupsForReportAscii
NameDescriptionTypeAdditional information
groups_num

integer

None.

insurtype

string

String length: inclusive between 0 and 12

emplcode

integer

None.

mark

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

invoice

string

String length: inclusive between 0 and 12

invoice_date

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2019-10-22T06:10:51.6781749+03:00"
  },
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2019-10-22T06:10:51.6781749+03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroupsForReportAscii xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <GroupsForReportAscii>
    <emplcode>3</emplcode>
    <groups_num>1</groups_num>
    <insurtype>sample string 2</insurtype>
    <invoice>sample string 5</invoice>
    <invoice_date>2019-10-22T06:10:51.6781749+03:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
  <GroupsForReportAscii>
    <emplcode>3</emplcode>
    <groups_num>1</groups_num>
    <insurtype>sample string 2</insurtype>
    <invoice>sample string 5</invoice>
    <invoice_date>2019-10-22T06:10:51.6781749+03:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
</ArrayOfGroupsForReportAscii>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.