POST api/Invoice/GetSentStagingDespatchList

Request Information

URI Parameters

None.

Body Parameters

GetDespatchListRequest
NameDescriptionTypeAdditional information
CompanyId

decimal number

None.

DespatchNumber

string

None.

FirstDespatchDate

string

None.

LastDespatchDate

string

None.

AliciAdi

string

None.

AliciVkn

string

None.

DespatchAdviceTypeId

DespatchAdviceType

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1.0,
  "DespatchNumber": "sample string 2",
  "FirstDespatchDate": "sample string 3",
  "LastDespatchDate": "sample string 4",
  "AliciAdi": "sample string 5",
  "AliciVkn": "sample string 6",
  "DespatchAdviceTypeId": 1,
  "PageIndex": 7,
  "PageSize": 8
}

application/xml, text/xml

Sample:
<GetDespatchListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <AliciAdi>sample string 5</AliciAdi>
  <AliciVkn>sample string 6</AliciVkn>
  <CompanyId>1</CompanyId>
  <DespatchAdviceTypeId>SEVK</DespatchAdviceTypeId>
  <DespatchNumber>sample string 2</DespatchNumber>
  <FirstDespatchDate>sample string 3</FirstDespatchDate>
  <LastDespatchDate>sample string 4</LastDespatchDate>
  <PageIndex>7</PageIndex>
  <PageSize>8</PageSize>
</GetDespatchListRequest>

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

Response Information

Resource Description

GetDespatchListResponse
NameDescriptionTypeAdditional information
Despatches

Collection of DespatchListMobileModel

None.

Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Despatches": [
    {
      "DespatchId": 1.0,
      "DespatchNumber": "sample string 2",
      "DespatchDate": "sample string 3",
      "RecipientCompanyName": "sample string 4",
      "Status": "sample string 5",
      "Ettn": "sample string 6"
    },
    {
      "DespatchId": 1.0,
      "DespatchNumber": "sample string 2",
      "DespatchDate": "sample string 3",
      "RecipientCompanyName": "sample string 4",
      "Status": "sample string 5",
      "Ettn": "sample string 6"
    }
  ],
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<GetDespatchListResponse 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>
  <Despatches>
    <DespatchListMobileModel>
      <DespatchDate>sample string 3</DespatchDate>
      <DespatchId>1</DespatchId>
      <DespatchNumber>sample string 2</DespatchNumber>
      <Ettn>sample string 6</Ettn>
      <RecipientCompanyName>sample string 4</RecipientCompanyName>
      <Status>sample string 5</Status>
    </DespatchListMobileModel>
    <DespatchListMobileModel>
      <DespatchDate>sample string 3</DespatchDate>
      <DespatchId>1</DespatchId>
      <DespatchNumber>sample string 2</DespatchNumber>
      <Ettn>sample string 6</Ettn>
      <RecipientCompanyName>sample string 4</RecipientCompanyName>
      <Status>sample string 5</Status>
    </DespatchListMobileModel>
  </Despatches>
</GetDespatchListResponse>