POST api/Post_SalesData
Request Information
URI Parameters
None.
Body Parameters
MPOSTSalesHeadDataLsts| Name | Description | Type | Additional information |
|---|---|---|---|
| Saleshead | Collection of MSalesHeadData |
None. |
Request Formats
application/json, text/json
Sample:
{
"Saleshead": [
{
"DocDate": "sample string 1",
"DocNumber": "sample string 2",
"DocType": "sample string 3",
"Reference": "sample string 4",
"ReferenceDate": "sample string 5",
"StoreCode": "sample string 6",
"StoreGSTIN": "sample string 7",
"CustomerCode": "sample string 8",
"CustomerName": "sample string 9",
"CustomerGSTIN": "sample string 10",
"ConsigneeName": "sample string 11",
"ConsigneeGSTIN": "sample string 12",
"Remarks": "sample string 13",
"BillingAddress1": "sample string 14",
"BillingAddress2": "sample string 15",
"BillingAddress3": "sample string 16",
"BillingPinCode": "sample string 17",
"BillingStateName": "sample string 18",
"DeliveryAddress1": "sample string 19",
"DeliveryAddress2": "sample string 20",
"DeliveryAddress3": "sample string 21",
"DeliveryPinCode": "sample string 22",
"DeliveryStateName": "sample string 23",
"TotalAmount": "sample string 24",
"TotalTax": "sample string 25",
"CGSTValue": "sample string 26",
"SGSTValue": "sample string 27",
"IGSTValue": "sample string 28",
"CreatedDateandTime": "sample string 29",
"UpdatedDateandTime": "sample string 30",
"InvoiceNo": "sample string 31",
"InvoiceDate": "sample string 32",
"CNNumber": "sample string 33",
"CNDate": "sample string 34",
"OrderNo": "sample string 35",
"OrderDate": "sample string 36",
"TallySyncStatus": "sample string 37",
"TotalLineCount": "sample string 38",
"TotalLedgerCount": "sample string 39",
"SalesLineDataLsts": [
{
"StockItem": "sample string 1",
"Qty": "sample string 2",
"Rate": "sample string 3",
"Amount": "sample string 4",
"GSTPercent": "sample string 5",
"DocNumber": "sample string 6",
"DocType": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10",
"SalesBatchDataLsts": [
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
},
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
}
]
},
{
"StockItem": "sample string 1",
"Qty": "sample string 2",
"Rate": "sample string 3",
"Amount": "sample string 4",
"GSTPercent": "sample string 5",
"DocNumber": "sample string 6",
"DocType": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10",
"SalesBatchDataLsts": [
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
},
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
}
]
}
],
"SalesOtherLedgerDataLsts": [
{
"LedgerName": "sample string 1",
"LedgerAmount": "sample string 2",
"DocNumber": "sample string 3",
"DocType": "sample string 4",
"CreatedDateandTime": "sample string 5",
"UpdatedDateandTime": "sample string 6",
"SLGLineNumber": "sample string 7"
},
{
"LedgerName": "sample string 1",
"LedgerAmount": "sample string 2",
"DocNumber": "sample string 3",
"DocType": "sample string 4",
"CreatedDateandTime": "sample string 5",
"UpdatedDateandTime": "sample string 6",
"SLGLineNumber": "sample string 7"
}
]
},
{
"DocDate": "sample string 1",
"DocNumber": "sample string 2",
"DocType": "sample string 3",
"Reference": "sample string 4",
"ReferenceDate": "sample string 5",
"StoreCode": "sample string 6",
"StoreGSTIN": "sample string 7",
"CustomerCode": "sample string 8",
"CustomerName": "sample string 9",
"CustomerGSTIN": "sample string 10",
"ConsigneeName": "sample string 11",
"ConsigneeGSTIN": "sample string 12",
"Remarks": "sample string 13",
"BillingAddress1": "sample string 14",
"BillingAddress2": "sample string 15",
"BillingAddress3": "sample string 16",
"BillingPinCode": "sample string 17",
"BillingStateName": "sample string 18",
"DeliveryAddress1": "sample string 19",
"DeliveryAddress2": "sample string 20",
"DeliveryAddress3": "sample string 21",
"DeliveryPinCode": "sample string 22",
"DeliveryStateName": "sample string 23",
"TotalAmount": "sample string 24",
"TotalTax": "sample string 25",
"CGSTValue": "sample string 26",
"SGSTValue": "sample string 27",
"IGSTValue": "sample string 28",
"CreatedDateandTime": "sample string 29",
"UpdatedDateandTime": "sample string 30",
"InvoiceNo": "sample string 31",
"InvoiceDate": "sample string 32",
"CNNumber": "sample string 33",
"CNDate": "sample string 34",
"OrderNo": "sample string 35",
"OrderDate": "sample string 36",
"TallySyncStatus": "sample string 37",
"TotalLineCount": "sample string 38",
"TotalLedgerCount": "sample string 39",
"SalesLineDataLsts": [
{
"StockItem": "sample string 1",
"Qty": "sample string 2",
"Rate": "sample string 3",
"Amount": "sample string 4",
"GSTPercent": "sample string 5",
"DocNumber": "sample string 6",
"DocType": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10",
"SalesBatchDataLsts": [
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
},
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
}
]
},
{
"StockItem": "sample string 1",
"Qty": "sample string 2",
"Rate": "sample string 3",
"Amount": "sample string 4",
"GSTPercent": "sample string 5",
"DocNumber": "sample string 6",
"DocType": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10",
"SalesBatchDataLsts": [
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
},
{
"Batch_Godown": "sample string 1",
"Batch_Number": "sample string 2",
"Batch_Qty": "sample string 3",
"Batch_Rate": "sample string 4",
"DocNumber": "sample string 5",
"DocType": "sample string 6",
"Batch_Amount": "sample string 7",
"SLDLineNumber": "sample string 8",
"CreatedDateandTime": "sample string 9",
"UpdatedDateandTime": "sample string 10"
}
]
}
],
"SalesOtherLedgerDataLsts": [
{
"LedgerName": "sample string 1",
"LedgerAmount": "sample string 2",
"DocNumber": "sample string 3",
"DocType": "sample string 4",
"CreatedDateandTime": "sample string 5",
"UpdatedDateandTime": "sample string 6",
"SLGLineNumber": "sample string 7"
},
{
"LedgerName": "sample string 1",
"LedgerAmount": "sample string 2",
"DocNumber": "sample string 3",
"DocType": "sample string 4",
"CreatedDateandTime": "sample string 5",
"UpdatedDateandTime": "sample string 6",
"SLGLineNumber": "sample string 7"
}
]
}
]
}
application/xml, text/xml
Sample:
<MPOSTSalesHeadDataLsts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IndmercTallySQL.Models">
<Saleshead>
<MSalesHeadData>
<BillingAddress1>sample string 14</BillingAddress1>
<BillingAddress2>sample string 15</BillingAddress2>
<BillingAddress3>sample string 16</BillingAddress3>
<BillingPinCode>sample string 17</BillingPinCode>
<BillingStateName>sample string 18</BillingStateName>
<CGSTValue>sample string 26</CGSTValue>
<CNDate>sample string 34</CNDate>
<CNNumber>sample string 33</CNNumber>
<ConsigneeGSTIN>sample string 12</ConsigneeGSTIN>
<ConsigneeName>sample string 11</ConsigneeName>
<CreatedDateandTime>sample string 29</CreatedDateandTime>
<CustomerCode>sample string 8</CustomerCode>
<CustomerGSTIN>sample string 10</CustomerGSTIN>
<CustomerName>sample string 9</CustomerName>
<DeliveryAddress1>sample string 19</DeliveryAddress1>
<DeliveryAddress2>sample string 20</DeliveryAddress2>
<DeliveryAddress3>sample string 21</DeliveryAddress3>
<DeliveryPinCode>sample string 22</DeliveryPinCode>
<DeliveryStateName>sample string 23</DeliveryStateName>
<DocDate>sample string 1</DocDate>
<DocNumber>sample string 2</DocNumber>
<DocType>sample string 3</DocType>
<IGSTValue>sample string 28</IGSTValue>
<InvoiceDate>sample string 32</InvoiceDate>
<InvoiceNo>sample string 31</InvoiceNo>
<OrderDate>sample string 36</OrderDate>
<OrderNo>sample string 35</OrderNo>
<Reference>sample string 4</Reference>
<ReferenceDate>sample string 5</ReferenceDate>
<Remarks>sample string 13</Remarks>
<SGSTValue>sample string 27</SGSTValue>
<SalesLineDataLsts>
<MSalesLineData>
<Amount>sample string 4</Amount>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 6</DocNumber>
<DocType>sample string 7</DocType>
<GSTPercent>sample string 5</GSTPercent>
<Qty>sample string 2</Qty>
<Rate>sample string 3</Rate>
<SLDLineNumber>sample string 8</SLDLineNumber>
<SalesBatchDataLsts>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
</SalesBatchDataLsts>
<StockItem>sample string 1</StockItem>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesLineData>
<MSalesLineData>
<Amount>sample string 4</Amount>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 6</DocNumber>
<DocType>sample string 7</DocType>
<GSTPercent>sample string 5</GSTPercent>
<Qty>sample string 2</Qty>
<Rate>sample string 3</Rate>
<SLDLineNumber>sample string 8</SLDLineNumber>
<SalesBatchDataLsts>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
</SalesBatchDataLsts>
<StockItem>sample string 1</StockItem>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesLineData>
</SalesLineDataLsts>
<SalesOtherLedgerDataLsts>
<MSalesOtherLedgerData>
<CreatedDateandTime>sample string 5</CreatedDateandTime>
<DocNumber>sample string 3</DocNumber>
<DocType>sample string 4</DocType>
<LedgerAmount>sample string 2</LedgerAmount>
<LedgerName>sample string 1</LedgerName>
<SLGLineNumber>sample string 7</SLGLineNumber>
<UpdatedDateandTime>sample string 6</UpdatedDateandTime>
</MSalesOtherLedgerData>
<MSalesOtherLedgerData>
<CreatedDateandTime>sample string 5</CreatedDateandTime>
<DocNumber>sample string 3</DocNumber>
<DocType>sample string 4</DocType>
<LedgerAmount>sample string 2</LedgerAmount>
<LedgerName>sample string 1</LedgerName>
<SLGLineNumber>sample string 7</SLGLineNumber>
<UpdatedDateandTime>sample string 6</UpdatedDateandTime>
</MSalesOtherLedgerData>
</SalesOtherLedgerDataLsts>
<StoreCode>sample string 6</StoreCode>
<StoreGSTIN>sample string 7</StoreGSTIN>
<TallySyncStatus>sample string 37</TallySyncStatus>
<TotalAmount>sample string 24</TotalAmount>
<TotalLedgerCount>sample string 39</TotalLedgerCount>
<TotalLineCount>sample string 38</TotalLineCount>
<TotalTax>sample string 25</TotalTax>
<UpdatedDateandTime>sample string 30</UpdatedDateandTime>
</MSalesHeadData>
<MSalesHeadData>
<BillingAddress1>sample string 14</BillingAddress1>
<BillingAddress2>sample string 15</BillingAddress2>
<BillingAddress3>sample string 16</BillingAddress3>
<BillingPinCode>sample string 17</BillingPinCode>
<BillingStateName>sample string 18</BillingStateName>
<CGSTValue>sample string 26</CGSTValue>
<CNDate>sample string 34</CNDate>
<CNNumber>sample string 33</CNNumber>
<ConsigneeGSTIN>sample string 12</ConsigneeGSTIN>
<ConsigneeName>sample string 11</ConsigneeName>
<CreatedDateandTime>sample string 29</CreatedDateandTime>
<CustomerCode>sample string 8</CustomerCode>
<CustomerGSTIN>sample string 10</CustomerGSTIN>
<CustomerName>sample string 9</CustomerName>
<DeliveryAddress1>sample string 19</DeliveryAddress1>
<DeliveryAddress2>sample string 20</DeliveryAddress2>
<DeliveryAddress3>sample string 21</DeliveryAddress3>
<DeliveryPinCode>sample string 22</DeliveryPinCode>
<DeliveryStateName>sample string 23</DeliveryStateName>
<DocDate>sample string 1</DocDate>
<DocNumber>sample string 2</DocNumber>
<DocType>sample string 3</DocType>
<IGSTValue>sample string 28</IGSTValue>
<InvoiceDate>sample string 32</InvoiceDate>
<InvoiceNo>sample string 31</InvoiceNo>
<OrderDate>sample string 36</OrderDate>
<OrderNo>sample string 35</OrderNo>
<Reference>sample string 4</Reference>
<ReferenceDate>sample string 5</ReferenceDate>
<Remarks>sample string 13</Remarks>
<SGSTValue>sample string 27</SGSTValue>
<SalesLineDataLsts>
<MSalesLineData>
<Amount>sample string 4</Amount>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 6</DocNumber>
<DocType>sample string 7</DocType>
<GSTPercent>sample string 5</GSTPercent>
<Qty>sample string 2</Qty>
<Rate>sample string 3</Rate>
<SLDLineNumber>sample string 8</SLDLineNumber>
<SalesBatchDataLsts>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
</SalesBatchDataLsts>
<StockItem>sample string 1</StockItem>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesLineData>
<MSalesLineData>
<Amount>sample string 4</Amount>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 6</DocNumber>
<DocType>sample string 7</DocType>
<GSTPercent>sample string 5</GSTPercent>
<Qty>sample string 2</Qty>
<Rate>sample string 3</Rate>
<SLDLineNumber>sample string 8</SLDLineNumber>
<SalesBatchDataLsts>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
<MSalesBatchData>
<Batch_Amount>sample string 7</Batch_Amount>
<Batch_Godown>sample string 1</Batch_Godown>
<Batch_Number>sample string 2</Batch_Number>
<Batch_Qty>sample string 3</Batch_Qty>
<Batch_Rate>sample string 4</Batch_Rate>
<CreatedDateandTime>sample string 9</CreatedDateandTime>
<DocNumber>sample string 5</DocNumber>
<DocType>sample string 6</DocType>
<SLDLineNumber>sample string 8</SLDLineNumber>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesBatchData>
</SalesBatchDataLsts>
<StockItem>sample string 1</StockItem>
<UpdatedDateandTime>sample string 10</UpdatedDateandTime>
</MSalesLineData>
</SalesLineDataLsts>
<SalesOtherLedgerDataLsts>
<MSalesOtherLedgerData>
<CreatedDateandTime>sample string 5</CreatedDateandTime>
<DocNumber>sample string 3</DocNumber>
<DocType>sample string 4</DocType>
<LedgerAmount>sample string 2</LedgerAmount>
<LedgerName>sample string 1</LedgerName>
<SLGLineNumber>sample string 7</SLGLineNumber>
<UpdatedDateandTime>sample string 6</UpdatedDateandTime>
</MSalesOtherLedgerData>
<MSalesOtherLedgerData>
<CreatedDateandTime>sample string 5</CreatedDateandTime>
<DocNumber>sample string 3</DocNumber>
<DocType>sample string 4</DocType>
<LedgerAmount>sample string 2</LedgerAmount>
<LedgerName>sample string 1</LedgerName>
<SLGLineNumber>sample string 7</SLGLineNumber>
<UpdatedDateandTime>sample string 6</UpdatedDateandTime>
</MSalesOtherLedgerData>
</SalesOtherLedgerDataLsts>
<StoreCode>sample string 6</StoreCode>
<StoreGSTIN>sample string 7</StoreGSTIN>
<TallySyncStatus>sample string 37</TallySyncStatus>
<TotalAmount>sample string 24</TotalAmount>
<TotalLedgerCount>sample string 39</TotalLedgerCount>
<TotalLineCount>sample string 38</TotalLineCount>
<TotalTax>sample string 25</TotalTax>
<UpdatedDateandTime>sample string 30</UpdatedDateandTime>
</MSalesHeadData>
</Saleshead>
</MPOSTSalesHeadDataLsts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.