POST Api/Post_GRPO

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_GRPO
NameDescriptionTypeAdditional information
IsDraft

string

None.

SaveAsDraft

string

None.

DraftKey

integer

None.

DocEntry

integer

None.

InTransit

string

None.

WeighmentEntry

integer

None.

DocNum

string

None.

Status

string

None.

PostingDate

string

None.

DeliveryDate

string

None.

DocumentDate

string

None.

CardCode

string

None.

CustomerRefNo

string

None.

PlaceofSupply

string

None.

Warehouse

string

None.

Branch

integer

None.

BillToCode

string

None.

ShipToCode

string

None.

ShippingType

string

None.

PaymentTerms

string

None.

TransporterType

string

None.

ServiceProviderName

string

None.

VehicleNo

string

None.

DriverName

string

None.

DriverNo

string

None.

Remarks

string

None.

Discount

decimal number

None.

FREIGHT_AGR_RATE_PER_MT

decimal number

None.

SSS_QTY

decimal number

None.

Items

Collection of ESPL_MODEL_GRPO_ITEMS

None.

Attachments

Collection of ESPL_MODEL_SALESORDER_ATCHMNTN

None.

Request Formats

application/json, text/json

Sample:
{
  "IsDraft": "sample string 1",
  "SaveAsDraft": "sample string 2",
  "DraftKey": 3,
  "DocEntry": 4,
  "InTransit": "sample string 5",
  "WeighmentEntry": 6,
  "DocNum": "sample string 7",
  "Status": "sample string 8",
  "PostingDate": "sample string 9",
  "DeliveryDate": "sample string 10",
  "DocumentDate": "sample string 11",
  "CardCode": "sample string 12",
  "CustomerRefNo": "sample string 13",
  "PlaceofSupply": "sample string 14",
  "Warehouse": "sample string 15",
  "Branch": 16,
  "BillToCode": "sample string 17",
  "ShipToCode": "sample string 18",
  "ShippingType": "sample string 19",
  "PaymentTerms": "sample string 20",
  "TransporterType": "sample string 21",
  "ServiceProviderName": "sample string 22",
  "VehicleNo": "sample string 23",
  "DriverName": "sample string 24",
  "DriverNo": "sample string 25",
  "Remarks": "sample string 26",
  "Discount": 27.1,
  "FREIGHT_AGR_RATE_PER_MT": 28.1,
  "SSS_QTY": 29.1,
  "Items": [
    {
      "LineNo": 1,
      "BaseLine": 2,
      "BaseDocNum": 3,
      "BaseEntry": 4,
      "BaseType": "sample string 5",
      "ItemCode": "sample string 6",
      "UOM": "sample string 7",
      "AlternateUOM": "sample string 8",
      "Quantity": 9.1,
      "Price": 10.1,
      "Discount": 11.1,
      "TaxCode": "sample string 12",
      "LineTotal": 13.1,
      "ActualQuantity": 14.1,
      "Short_ExcessQuantity": 15.1
    },
    {
      "LineNo": 1,
      "BaseLine": 2,
      "BaseDocNum": 3,
      "BaseEntry": 4,
      "BaseType": "sample string 5",
      "ItemCode": "sample string 6",
      "UOM": "sample string 7",
      "AlternateUOM": "sample string 8",
      "Quantity": 9.1,
      "Price": 10.1,
      "Discount": 11.1,
      "TaxCode": "sample string 12",
      "LineTotal": 13.1,
      "ActualQuantity": 14.1,
      "Short_ExcessQuantity": 15.1
    }
  ],
  "Attachments": [
    {
      "AttachmentEntry": "sample string 1",
      "LineId": "sample string 2",
      "FileName": "sample string 3",
      "Extension": "sample string 4",
      "AttachmentData": "sample string 5",
      "AttachmentRemarks": "sample string 6"
    },
    {
      "AttachmentEntry": "sample string 1",
      "LineId": "sample string 2",
      "FileName": "sample string 3",
      "Extension": "sample string 4",
      "AttachmentData": "sample string 5",
      "AttachmentRemarks": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_GRPO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <Attachments>
    <ESPL_MODEL_SALESORDER_ATCHMNTN>
      <AttachmentData>sample string 5</AttachmentData>
      <AttachmentEntry>sample string 1</AttachmentEntry>
      <AttachmentRemarks>sample string 6</AttachmentRemarks>
      <Extension>sample string 4</Extension>
      <FileName>sample string 3</FileName>
      <LineId>sample string 2</LineId>
    </ESPL_MODEL_SALESORDER_ATCHMNTN>
    <ESPL_MODEL_SALESORDER_ATCHMNTN>
      <AttachmentData>sample string 5</AttachmentData>
      <AttachmentEntry>sample string 1</AttachmentEntry>
      <AttachmentRemarks>sample string 6</AttachmentRemarks>
      <Extension>sample string 4</Extension>
      <FileName>sample string 3</FileName>
      <LineId>sample string 2</LineId>
    </ESPL_MODEL_SALESORDER_ATCHMNTN>
  </Attachments>
  <BillToCode>sample string 17</BillToCode>
  <Branch>16</Branch>
  <CardCode>sample string 12</CardCode>
  <CustomerRefNo>sample string 13</CustomerRefNo>
  <DeliveryDate>sample string 10</DeliveryDate>
  <Discount>27.1</Discount>
  <DocEntry>4</DocEntry>
  <DocNum>sample string 7</DocNum>
  <DocumentDate>sample string 11</DocumentDate>
  <DraftKey>3</DraftKey>
  <DriverName>sample string 24</DriverName>
  <DriverNo>sample string 25</DriverNo>
  <FREIGHT_AGR_RATE_PER_MT>28.1</FREIGHT_AGR_RATE_PER_MT>
  <InTransit>sample string 5</InTransit>
  <IsDraft>sample string 1</IsDraft>
  <Items>
    <ESPL_MODEL_GRPO_ITEMS>
      <ActualQuantity>14.1</ActualQuantity>
      <AlternateUOM>sample string 8</AlternateUOM>
      <BaseDocNum>3</BaseDocNum>
      <BaseEntry>4</BaseEntry>
      <BaseLine>2</BaseLine>
      <BaseType>sample string 5</BaseType>
      <Discount>11.1</Discount>
      <ItemCode>sample string 6</ItemCode>
      <LineNo>1</LineNo>
      <LineTotal>13.1</LineTotal>
      <Price>10.1</Price>
      <Quantity>9.1</Quantity>
      <Short_ExcessQuantity>15.1</Short_ExcessQuantity>
      <TaxCode>sample string 12</TaxCode>
      <UOM>sample string 7</UOM>
    </ESPL_MODEL_GRPO_ITEMS>
    <ESPL_MODEL_GRPO_ITEMS>
      <ActualQuantity>14.1</ActualQuantity>
      <AlternateUOM>sample string 8</AlternateUOM>
      <BaseDocNum>3</BaseDocNum>
      <BaseEntry>4</BaseEntry>
      <BaseLine>2</BaseLine>
      <BaseType>sample string 5</BaseType>
      <Discount>11.1</Discount>
      <ItemCode>sample string 6</ItemCode>
      <LineNo>1</LineNo>
      <LineTotal>13.1</LineTotal>
      <Price>10.1</Price>
      <Quantity>9.1</Quantity>
      <Short_ExcessQuantity>15.1</Short_ExcessQuantity>
      <TaxCode>sample string 12</TaxCode>
      <UOM>sample string 7</UOM>
    </ESPL_MODEL_GRPO_ITEMS>
  </Items>
  <PaymentTerms>sample string 20</PaymentTerms>
  <PlaceofSupply>sample string 14</PlaceofSupply>
  <PostingDate>sample string 9</PostingDate>
  <Remarks>sample string 26</Remarks>
  <SSS_QTY>29.1</SSS_QTY>
  <SaveAsDraft>sample string 2</SaveAsDraft>
  <ServiceProviderName>sample string 22</ServiceProviderName>
  <ShipToCode>sample string 18</ShipToCode>
  <ShippingType>sample string 19</ShippingType>
  <Status>sample string 8</Status>
  <TransporterType>sample string 21</TransporterType>
  <VehicleNo>sample string 23</VehicleNo>
  <Warehouse>sample string 15</Warehouse>
  <WeighmentEntry>6</WeighmentEntry>
</ESPL_MODEL_GRPO>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.