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": "2024-11-21T11:47:09.0995383+02:00"
  },
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2024-11-21T11:47:09.0995383+02: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>2024-11-21T11:47:09.0995383+02: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>2024-11-21T11:47:09.0995383+02:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
</ArrayOfGroupsForReportAscii>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

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": "2024-11-21T11:47:09.1151666+02:00"
  },
  {
    "groups_num": 1,
    "insurtype": "sample string 2",
    "emplcode": 3,
    "mark": "sample string 4",
    "invoice": "sample string 5",
    "invoice_date": "2024-11-21T11:47:09.1151666+02: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>2024-11-21T11:47:09.1151666+02: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>2024-11-21T11:47:09.1151666+02:00</invoice_date>
    <mark>sample string 4</mark>
  </GroupsForReportAscii>
</ArrayOfGroupsForReportAscii>

application/bson

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