POST api/DocumentsSettlement

Request Information

URI Parameters

None.

Body Parameters

DocumentSettlement
NameDescriptionTypeAdditional information
companyData

CompanyData

None.

id

integer

None.

documentFullNumber

string

Required

String length: inclusive between 0 and 30

paymentFullNumber

string

Required

String length: inclusive between 0 and 30

error

string

None.

Request Formats

application/json, text/json

Sample:
{
  "companyData": {
    "companyName": "sample string 1",
    "databaseName": "sample string 2"
  },
  "id": 1,
  "documentFullNumber": "sample string 2",
  "paymentFullNumber": "sample string 3",
  "error": "sample string 4"
}

application/xml, text/xml

Sample:
<DocumentSettlement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOptima_v._2._0.Models">
  <companyData>
    <companyName>sample string 1</companyName>
    <databaseName>sample string 2</databaseName>
  </companyData>
  <documentFullNumber>sample string 2</documentFullNumber>
  <error>sample string 4</error>
  <id>1</id>
  <paymentFullNumber>sample string 3</paymentFullNumber>
</DocumentSettlement>

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 'DocumentSettlement'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.