POST api/Invoice/SendStagingInvoice

Request Information

URI Parameters

None.

Body Parameters

SendStagingInvoiceRequest
NameDescriptionTypeAdditional information
CompanyId

decimal number

None.

InvoiceNumber

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

SendStagingInvoiceResponse
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:
<SendStagingInvoiceResponse 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>
</SendStagingInvoiceResponse>