POST api/S_PODEntry?PODAttachment={PODAttachment}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PODAttachment

string

Required

Body Parameters

Collection of S_LRDetail
NameDescriptionTypeAdditional information
Id

integer

None.

InvoiceNo

string

None.

LRNo

string

None.

LRDate

date

None.

LRAmount

decimal number

None.

TransporterId

string

None.

InvoiceType

string

None.

ProductMainGroup

string

None.

PODId

integer

None.

LRImage

Collection of byte

None.

BranchCode

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "InvoiceNo": "sample string 2",
    "LRNo": "sample string 3",
    "LRDate": "2024-04-28T04:25:12.3122095+00:00",
    "LRAmount": 1.0,
    "TransporterId": "sample string 4",
    "InvoiceType": "sample string 5",
    "ProductMainGroup": "sample string 6",
    "PODId": 7,
    "LRImage": "QEA=",
    "BranchCode": 8,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:25:12.3122095+00:00"
  },
  {
    "Id": 1,
    "InvoiceNo": "sample string 2",
    "LRNo": "sample string 3",
    "LRDate": "2024-04-28T04:25:12.3122095+00:00",
    "LRAmount": 1.0,
    "TransporterId": "sample string 4",
    "InvoiceType": "sample string 5",
    "ProductMainGroup": "sample string 6",
    "PODId": 7,
    "LRImage": "QEA=",
    "BranchCode": 8,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:25:12.3122095+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfS_LRDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <S_LRDetail>
    <BranchCode>8</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:25:12.3122095+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 2</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <LRDate>2024-04-28T04:25:12.3122095+00:00</LRDate>
    <LRImage>QEA=</LRImage>
    <LRNo>sample string 3</LRNo>
    <PODId>7</PODId>
    <ProductMainGroup>sample string 6</ProductMainGroup>
    <TransporterId>sample string 4</TransporterId>
  </S_LRDetail>
  <S_LRDetail>
    <BranchCode>8</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:25:12.3122095+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 2</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <LRDate>2024-04-28T04:25:12.3122095+00:00</LRDate>
    <LRImage>QEA=</LRImage>
    <LRNo>sample string 3</LRNo>
    <PODId>7</PODId>
    <ProductMainGroup>sample string 6</ProductMainGroup>
    <TransporterId>sample string 4</TransporterId>
  </S_LRDetail>
</ArrayOfS_LRDetail>

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

Response Information

Resource Description

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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PODDate": "2024-04-28T04:25:12.3278098+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-28T04:25:12.3278098+00:00",
    "LRAmount": 1.0,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:25:12.3278098+00:00"
  },
  {
    "Id": 1,
    "PODDate": "2024-04-28T04:25:12.3278098+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-28T04:25:12.3278098+00:00",
    "LRAmount": 1.0,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:25:12.3278098+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-28T04:25:12.3278098+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 4</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <PODDate>2024-04-28T04:25:12.3278098+00:00</PODDate>
    <PODDocument>sample string 2</PODDocument>
    <TransporterId>sample string 3</TransporterId>
    <TransporterInvDate>2024-04-28T04:25:12.3278098+00:00</TransporterInvDate>
    <TransporterInvoiceNo>sample string 6</TransporterInvoiceNo>
  </S_PODEntry>
  <S_PODEntry>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:25:12.3278098+00:00</CreatedOn>
    <Id>1</Id>
    <InvoiceNo>sample string 4</InvoiceNo>
    <InvoiceType>sample string 5</InvoiceType>
    <LRAmount>1</LRAmount>
    <PODDate>2024-04-28T04:25:12.3278098+00:00</PODDate>
    <PODDocument>sample string 2</PODDocument>
    <TransporterId>sample string 3</TransporterId>
    <TransporterInvDate>2024-04-28T04:25:12.3278098+00:00</TransporterInvDate>
    <TransporterInvoiceNo>sample string 6</TransporterInvoiceNo>
  </S_PODEntry>
</ArrayOfS_PODEntry>