POST api/PODEntry

Request Information

URI Parameters

None.

Body Parameters

Collection of S_PODEntry
NameDescriptionTypeAdditional information
Id

integer

None.

PODDate

date

None.

PODDocument

string

None.

TransporterId

string

None.

InvoiceNo

string

None.

InvoiceType

string

None.

TransporterInvoiceNo

string

None.

TransporterInvDate

date

None.

LRAmount

decimal number

None.

CreatedBy

integer

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PODDate": "2024-04-27T23:31:29.4345626+00:00",
    "PODDocument": "sample string 2",
    "TransporterId": "sample string 3",
    "InvoiceNo": "sample string 4",
    "InvoiceType": "sample string 5",
    "TransporterInvoiceNo": "sample string 6",
    "TransporterInvDate": "2024-04-27T23:31:29.4345626+00:00",
    "LRAmount": 1.0,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T23:31:29.4345626+00:00"
  },
  {
    "Id": 1,
    "PODDate": "2024-04-27T23:31:29.4345626+00:00",
    "PODDocument": "sample string 2",
    "TransporterId": "sample string 3",
    "InvoiceNo": "sample string 4",
    "InvoiceType": "sample string 5",
    "TransporterInvoiceNo": "sample string 6",
    "TransporterInvDate": "2024-04-27T23:31:29.4345626+00:00",
    "LRAmount": 1.0,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T23:31:29.4345626+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfS_PODEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <S_PODEntry>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T23:31:29.4345626+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 4</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <PODDate>2024-04-27T23:31:29.4345626+00:00</PODDate>
    <PODDocument>sample string 2</PODDocument>
    <TransporterId>sample string 3</TransporterId>
    <TransporterInvDate>2024-04-27T23:31:29.4345626+00:00</TransporterInvDate>
    <TransporterInvoiceNo>sample string 6</TransporterInvoiceNo>
  </S_PODEntry>
  <S_PODEntry>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T23:31:29.4345626+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 4</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <PODDate>2024-04-27T23:31:29.4345626+00:00</PODDate>
    <PODDocument>sample string 2</PODDocument>
    <TransporterId>sample string 3</TransporterId>
    <TransporterInvDate>2024-04-27T23:31:29.4345626+00:00</TransporterInvDate>
    <TransporterInvoiceNo>sample string 6</TransporterInvoiceNo>
  </S_PODEntry>
</ArrayOfS_PODEntry>

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 'IEnumerable`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.