POST api/SOHeader/POSTForSOAging

Request Information

URI Parameters

None.

Body Parameters

Z_S_SOHeaderLineTaxDetailForAgingRequest
NameDescriptionTypeAdditional information
soheader

S_SOHeader

None.

soline

Collection of S_SOLine

None.

Request Formats

application/json, text/json

Sample:
{
  "soheader": {
    "Id": 1,
    "SOId": "sample string 2",
    "SODate": "2024-04-27T20:31:40.7702958+00:00",
    "SoRefNo": "sample string 4",
    "ItemGroup": 5,
    "CustomerCode": "sample string 6",
    "ConsigneeCode": "sample string 7",
    "TransporterId": "sample string 8",
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "OfficeId": 1,
    "WarehouseId": 1,
    "Remarks": "sample string 9",
    "CD": "sample string 10",
    "TOD": "sample string 11",
    "ORC": "sample string 12",
    "RD": "sample string 13",
    "FormType": "sample string 14",
    "TestCertificate": "sample string 15",
    "Freight": 1,
    "Export": "sample string 16",
    "ARE": "sample string 17",
    "CurrencyCode": 1,
    "ExpDeliveryDate": "2024-04-27T20:31:40.7702958+00:00",
    "Status": 1,
    "Amount": 1.0,
    "InternalRepresentative": "sample string 18",
    "Approver": 1,
    "ApproveDate": "2024-04-27T20:31:40.7702958+00:00",
    "InvType": "sample string 19",
    "BranchCode": 20,
    "CreatedBy": 21,
    "CreatedOn": "2024-04-27T20:31:40.7702958+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T20:31:40.7702958+00:00",
    "PSOId": "sample string 22",
    "HoldReason": "sample string 23",
    "NotRegularScheme": "sample string 24",
    "ConsigneeFlag": "sample string 25",
    "CustomerType": 1,
    "OrderType": 1,
    "SupplyType": "sample string 26"
  },
  "soline": [
    {
      "Id": 1,
      "LineNumber": 2,
      "SOId": "sample string 3",
      "ItemCode": "sample string 4",
      "UnitId": 1,
      "Rate": 1.0,
      "OrderQty": 1.0,
      "SalesQty": 1.0,
      "PendingQty": 1.0,
      "DiscountAmt": 1.0,
      "DiscountPercentage": 1.0,
      "ExpectedDate": "2024-04-27T20:31:40.7859239+00:00",
      "WarehouseId": 1,
      "Taxcode": "sample string 5",
      "AssValue": 6.0,
      "ProductMainGroupId": 1,
      "BranchCode": 7,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-27T20:31:40.7859239+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-27T20:31:40.7859239+00:00",
      "PSOId": "sample string 8",
      "SchemeDiscount": 9.0,
      "DiscountPer1": 1.0,
      "DiscountAmt1": 1.0,
      "DiscountRemark1": "sample string 10",
      "DiscountPer2": 1.0,
      "DiscountAmt2": 1.0,
      "DiscountRemark2": "sample string 11",
      "DiscountPer3": 1.0,
      "DiscountAmt3": 1.0,
      "DiscountRemark3": "sample string 12",
      "DiscountPer4": 1.0,
      "DiscountAmt4": 1.0
    },
    {
      "Id": 1,
      "LineNumber": 2,
      "SOId": "sample string 3",
      "ItemCode": "sample string 4",
      "UnitId": 1,
      "Rate": 1.0,
      "OrderQty": 1.0,
      "SalesQty": 1.0,
      "PendingQty": 1.0,
      "DiscountAmt": 1.0,
      "DiscountPercentage": 1.0,
      "ExpectedDate": "2024-04-27T20:31:40.7859239+00:00",
      "WarehouseId": 1,
      "Taxcode": "sample string 5",
      "AssValue": 6.0,
      "ProductMainGroupId": 1,
      "BranchCode": 7,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-27T20:31:40.7859239+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-27T20:31:40.7859239+00:00",
      "PSOId": "sample string 8",
      "SchemeDiscount": 9.0,
      "DiscountPer1": 1.0,
      "DiscountAmt1": 1.0,
      "DiscountRemark1": "sample string 10",
      "DiscountPer2": 1.0,
      "DiscountAmt2": 1.0,
      "DiscountRemark2": "sample string 11",
      "DiscountPer3": 1.0,
      "DiscountAmt3": 1.0,
      "DiscountRemark3": "sample string 12",
      "DiscountPer4": 1.0,
      "DiscountAmt4": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<Z_S_SOHeaderLineTaxDetailForAgingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <soheader>
    <ARE>sample string 17</ARE>
    <Amount>1</Amount>
    <ApproveDate>2024-04-27T20:31:40.7702958+00:00</ApproveDate>
    <Approver>1</Approver>
    <BranchCode>20</BranchCode>
    <CD>sample string 10</CD>
    <ConsigneeCode>sample string 7</ConsigneeCode>
    <ConsigneeFlag>sample string 25</ConsigneeFlag>
    <CreatedBy>21</CreatedBy>
    <CreatedOn>2024-04-27T20:31:40.7702958+00:00</CreatedOn>
    <CurrencyCode>1</CurrencyCode>
    <CustomerCode>sample string 6</CustomerCode>
    <CustomerType>1</CustomerType>
    <DeliveryTermId>1</DeliveryTermId>
    <ExpDeliveryDate>2024-04-27T20:31:40.7702958+00:00</ExpDeliveryDate>
    <Export>sample string 16</Export>
    <FormType>sample string 14</FormType>
    <Freight>1</Freight>
    <HoldReason>sample string 23</HoldReason>
    <Id>1</Id>
    <InternalRepresentative>sample string 18</InternalRepresentative>
    <InvType>sample string 19</InvType>
    <ItemGroup>5</ItemGroup>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T20:31:40.7702958+00:00</ModifiedOn>
    <NotRegularScheme>sample string 24</NotRegularScheme>
    <ORC>sample string 12</ORC>
    <OfficeId>1</OfficeId>
    <OrderType>1</OrderType>
    <PSOId>sample string 22</PSOId>
    <PaymentTermId>1</PaymentTermId>
    <RD>sample string 13</RD>
    <Remarks>sample string 9</Remarks>
    <SODate>2024-04-27T20:31:40.7702958+00:00</SODate>
    <SOId>sample string 2</SOId>
    <SoRefNo>sample string 4</SoRefNo>
    <Status>1</Status>
    <SupplyType>sample string 26</SupplyType>
    <TOD>sample string 11</TOD>
    <TestCertificate>sample string 15</TestCertificate>
    <TransporterId>sample string 8</TransporterId>
    <WarehouseId>1</WarehouseId>
  </soheader>
  <soline>
    <S_SOLine>
      <AssValue>6</AssValue>
      <BranchCode>7</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-27T20:31:40.7859239+00:00</CreatedOn>
      <DiscountAmt>1</DiscountAmt>
      <DiscountAmt1>1</DiscountAmt1>
      <DiscountAmt2>1</DiscountAmt2>
      <DiscountAmt3>1</DiscountAmt3>
      <DiscountAmt4>1</DiscountAmt4>
      <DiscountPer1>1</DiscountPer1>
      <DiscountPer2>1</DiscountPer2>
      <DiscountPer3>1</DiscountPer3>
      <DiscountPer4>1</DiscountPer4>
      <DiscountPercentage>1</DiscountPercentage>
      <DiscountRemark1>sample string 10</DiscountRemark1>
      <DiscountRemark2>sample string 11</DiscountRemark2>
      <DiscountRemark3>sample string 12</DiscountRemark3>
      <ExpectedDate>2024-04-27T20:31:40.7859239+00:00</ExpectedDate>
      <Id>1</Id>
      <ItemCode>sample string 4</ItemCode>
      <LineNumber>2</LineNumber>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-27T20:31:40.7859239+00:00</ModifiedOn>
      <OrderQty>1</OrderQty>
      <PSOId>sample string 8</PSOId>
      <PendingQty>1</PendingQty>
      <ProductMainGroupId>1</ProductMainGroupId>
      <Rate>1</Rate>
      <SOId>sample string 3</SOId>
      <SalesQty>1</SalesQty>
      <SchemeDiscount>9</SchemeDiscount>
      <Taxcode>sample string 5</Taxcode>
      <UnitId>1</UnitId>
      <WarehouseId>1</WarehouseId>
    </S_SOLine>
    <S_SOLine>
      <AssValue>6</AssValue>
      <BranchCode>7</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-27T20:31:40.7859239+00:00</CreatedOn>
      <DiscountAmt>1</DiscountAmt>
      <DiscountAmt1>1</DiscountAmt1>
      <DiscountAmt2>1</DiscountAmt2>
      <DiscountAmt3>1</DiscountAmt3>
      <DiscountAmt4>1</DiscountAmt4>
      <DiscountPer1>1</DiscountPer1>
      <DiscountPer2>1</DiscountPer2>
      <DiscountPer3>1</DiscountPer3>
      <DiscountPer4>1</DiscountPer4>
      <DiscountPercentage>1</DiscountPercentage>
      <DiscountRemark1>sample string 10</DiscountRemark1>
      <DiscountRemark2>sample string 11</DiscountRemark2>
      <DiscountRemark3>sample string 12</DiscountRemark3>
      <ExpectedDate>2024-04-27T20:31:40.7859239+00:00</ExpectedDate>
      <Id>1</Id>
      <ItemCode>sample string 4</ItemCode>
      <LineNumber>2</LineNumber>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-27T20:31:40.7859239+00:00</ModifiedOn>
      <OrderQty>1</OrderQty>
      <PSOId>sample string 8</PSOId>
      <PendingQty>1</PendingQty>
      <ProductMainGroupId>1</ProductMainGroupId>
      <Rate>1</Rate>
      <SOId>sample string 3</SOId>
      <SalesQty>1</SalesQty>
      <SchemeDiscount>9</SchemeDiscount>
      <Taxcode>sample string 5</Taxcode>
      <UnitId>1</UnitId>
      <WarehouseId>1</WarehouseId>
    </S_SOLine>
  </soline>
</Z_S_SOHeaderLineTaxDetailForAgingRequest>

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

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.