POST api/Invoice/SendStagingDespatch

Request Information

URI Parameters

None.

Body Parameters

SendStagingDespatchRequest
NameDescriptionTypeAdditional information
CompanyId

decimal number

None.

DespatchNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1.0,
  "DespatchNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<SendStagingDespatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <CompanyId>1</CompanyId>
  <DespatchNumber>sample string 2</DespatchNumber>
</SendStagingDespatchRequest>

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

Response Information

Resource Description

SendStagingDespatchResponse
NameDescriptionTypeAdditional information
Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<SendStagingDespatchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 1</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
</SendStagingDespatchResponse>