POST api/SOHeader
Request Information
URI Parameters
None.
Body Parameters
Z_S_SOHeaderLineTaxDetailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| soHeader | S_SOHeader |
None. |
|
| soline | Collection of S_SOLine |
None. |
|
| soscheme | Collection of S_SOScheme |
None. |
|
| soconsigneeMap | S_SOConsigneeMapping |
None. |
Request Formats
application/json, text/json
Sample:
{
"soHeader": {
"Id": 1,
"SOId": "sample string 2",
"SODate": "2025-12-16T08:15:03.9423965+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": "2025-12-16T08:15:03.9423965+00:00",
"Status": 1,
"Amount": 1.0,
"InternalRepresentative": "sample string 18",
"Approver": 1,
"ApproveDate": "2025-12-16T08:15:03.9423965+00:00",
"InvType": "sample string 19",
"BranchCode": 20,
"CreatedBy": 21,
"CreatedOn": "2025-12-16T08:15:03.9423965+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T08:15:03.9423965+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": "2025-12-16T08:15:03.9423965+00:00",
"WarehouseId": 1,
"Taxcode": "sample string 5",
"AssValue": 6.0,
"ProductMainGroupId": 1,
"BranchCode": 7,
"CreatedBy": 1,
"CreatedOn": "2025-12-16T08:15:03.9423965+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T08:15:03.9423965+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": "2025-12-16T08:15:03.9423965+00:00",
"WarehouseId": 1,
"Taxcode": "sample string 5",
"AssValue": 6.0,
"ProductMainGroupId": 1,
"BranchCode": 7,
"CreatedBy": 1,
"CreatedOn": "2025-12-16T08:15:03.9423965+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T08:15:03.9423965+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
}
],
"soscheme": [
{
"Id": 1,
"SOId": "sample string 2",
"SchemeId": 3,
"BranchCode": 4,
"SchemeType": "sample string 5"
},
{
"Id": 1,
"SOId": "sample string 2",
"SchemeId": 3,
"BranchCode": 4,
"SchemeType": "sample string 5"
}
],
"soconsigneeMap": {
"Id": 1,
"SOId": "sample string 2",
"ConsigneeCode": "sample string 3",
"Address1": "sample string 4",
"Address2": "sample string 5",
"Address3": "sample string 6",
"CityId": 1,
"StateId": 1,
"CountryId": 1,
"DistrictId": 1,
"TalukaId": 1,
"ZipCode": "sample string 7",
"BranchCode": 8
}
}
application/xml, text/xml
Sample:
<Z_S_SOHeaderLineTaxDetailRequest 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>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+00:00</CreatedOn>
<CurrencyCode>1</CurrencyCode>
<CustomerCode>sample string 6</CustomerCode>
<CustomerType>1</CustomerType>
<DeliveryTermId>1</DeliveryTermId>
<ExpDeliveryDate>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+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>
<soconsigneeMap>
<Address1>sample string 4</Address1>
<Address2>sample string 5</Address2>
<Address3>sample string 6</Address3>
<BranchCode>8</BranchCode>
<CityId>1</CityId>
<ConsigneeCode>sample string 3</ConsigneeCode>
<CountryId>1</CountryId>
<DistrictId>1</DistrictId>
<Id>1</Id>
<SOId>sample string 2</SOId>
<StateId>1</StateId>
<TalukaId>1</TalukaId>
<ZipCode>sample string 7</ZipCode>
</soconsigneeMap>
<soline>
<S_SOLine>
<AssValue>6</AssValue>
<BranchCode>7</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+00:00</ExpectedDate>
<Id>1</Id>
<ItemCode>sample string 4</ItemCode>
<LineNumber>2</LineNumber>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+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>2025-12-16T08:15:03.9423965+00:00</ExpectedDate>
<Id>1</Id>
<ItemCode>sample string 4</ItemCode>
<LineNumber>2</LineNumber>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-16T08:15:03.9423965+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>
<soscheme>
<S_SOScheme>
<BranchCode>4</BranchCode>
<Id>1</Id>
<SOId>sample string 2</SOId>
<SchemeId>3</SchemeId>
<SchemeType>sample string 5</SchemeType>
</S_SOScheme>
<S_SOScheme>
<BranchCode>4</BranchCode>
<Id>1</Id>
<SOId>sample string 2</SOId>
<SchemeId>3</SchemeId>
<SchemeType>sample string 5</SchemeType>
</S_SOScheme>
</soscheme>
</Z_S_SOHeaderLineTaxDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |