POST api/CreateSO
Request Information
URI Parameters
None.
Body Parameters
SalesOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| SOTYPE | string |
Required |
|
| SONO | string |
None. |
|
| SODATE | string |
Required |
|
| SEGMENT | string |
Required |
|
| DISTCHNL | string |
Required |
|
| BILLTOCODE | string |
Required |
|
| SHIPTOCODE | string |
Required |
|
| PAYMENTTERMS | string |
Required |
|
| REMARKS | string |
Required |
|
| STATUS | integer |
Required |
|
| NETVALUEAMT | string |
Required |
|
| NETTAXAMT | string |
Required |
|
| TOTALDISCOUNTAMT | string |
Required |
|
| NETSOAMT | string |
Required |
|
| REFNO | string |
Required |
|
| REFDT | string |
Required |
|
| SALESFORM | integer |
Required |
|
| CUSTNAME | string |
Required |
|
| CUSTADD1 | string |
Required |
|
| CUSTADD2 | string |
Required |
|
| CUSTADD3 | string |
Required |
|
| CITY | string |
Required |
|
| STATEID | integer |
Required |
|
| PINCODE | string |
Required |
|
| CUSTMOBILENO | string |
Required |
|
| CUSTEMAILID | string |
None. |
|
| JOBID | string |
None. |
|
| COMMAGENT | string |
Required |
|
| SCHEMEID | integer |
Required |
|
| PAYMODE | integer |
Required |
|
| PREPAIDAMT | string |
Required |
|
| REMAINAMT | string |
Required |
|
| TXNNO | string |
None. |
|
| TXNDT | string |
None. |
|
| PAYGATEWAY | string |
None. |
|
| ENTITYID | string |
None. |
|
| UTMSOURCE | string |
None. |
|
| UTMCAMPAIGN | string |
None. |
|
| UTMMEDIUM | string |
None. |
|
| GOKWIKFLAG | string |
None. |
|
| ITEMDETAILS | Collection of LSTITEMDETAILS |
Required |
|
| TAXDETAILS | Collection of LSTTAXDETAILS |
None. |
|
| CHARGEDETAILS | Collection of LSTCHARGEDETAILS |
None. |
Request Formats
application/json, text/json
Sample:
{
"SOTYPE": "sample string 1",
"SONO": "sample string 2",
"SODATE": "sample string 3",
"SEGMENT": "sample string 4",
"DISTCHNL": "sample string 5",
"BILLTOCODE": "sample string 6",
"SHIPTOCODE": "sample string 7",
"PAYMENTTERMS": "sample string 8",
"REMARKS": "sample string 9",
"STATUS": 10,
"NETVALUEAMT": "sample string 11",
"NETTAXAMT": "sample string 12",
"TOTALDISCOUNTAMT": "sample string 13",
"NETSOAMT": "sample string 14",
"REFNO": "sample string 15",
"REFDT": "sample string 16",
"SALESFORM": 17,
"CUSTNAME": "sample string 18",
"CUSTADD1": "sample string 19",
"CUSTADD2": "sample string 20",
"CUSTADD3": "sample string 21",
"CITY": "sample string 22",
"STATEID": 23,
"PINCODE": "sample string 24",
"CUSTMOBILENO": "sample string 25",
"CUSTEMAILID": "sample string 26",
"JOBID": "sample string 27",
"COMMAGENT": "sample string 28",
"SCHEMEID": 29,
"PAYMODE": 30,
"PREPAIDAMT": "sample string 31",
"REMAINAMT": "sample string 32",
"TXNNO": "sample string 33",
"TXNDT": "sample string 34",
"PAYGATEWAY": "sample string 35",
"ENTITYID": "sample string 36",
"UTMSOURCE": "sample string 37",
"UTMCAMPAIGN": "sample string 38",
"UTMMEDIUM": "sample string 39",
"GOKWIKFLAG": "sample string 40",
"ITEMDETAILS": [
{
"SONO": "sample string 1",
"SRNO": "sample string 2",
"ITEMCODE": "sample string 3",
"ITEMID": "sample string 4",
"ITEMDESC": "sample string 5",
"PLANTCODE": "sample string 6",
"LOCCD": "sample string 7",
"ITEMGROUPID": "sample string 8",
"SOQTY": "sample string 9",
"UOM": "sample string 10",
"RATE": "sample string 11",
"CAMOUNT": "sample string 12",
"DISCAMT": "sample string 13",
"DELIDT": "sample string 14",
"GLCODE": "sample string 15",
"COSTCENTER": "sample string 16",
"PRFCNT": "sample string 17",
"ITEMTEXT": "sample string 18",
"TAXAMT": "sample string 19",
"CUSTPARTNO": "sample string 20",
"CUSTPARTDESC": "sample string 21",
"IMEINO": "sample string 22",
"OLDITEMID": "sample string 23",
"CHANGEREASON": "sample string 24",
"GRADE": "sample string 25",
"JOBID": "sample string 26",
"SCHEMEID": "sample string 27"
},
{
"SONO": "sample string 1",
"SRNO": "sample string 2",
"ITEMCODE": "sample string 3",
"ITEMID": "sample string 4",
"ITEMDESC": "sample string 5",
"PLANTCODE": "sample string 6",
"LOCCD": "sample string 7",
"ITEMGROUPID": "sample string 8",
"SOQTY": "sample string 9",
"UOM": "sample string 10",
"RATE": "sample string 11",
"CAMOUNT": "sample string 12",
"DISCAMT": "sample string 13",
"DELIDT": "sample string 14",
"GLCODE": "sample string 15",
"COSTCENTER": "sample string 16",
"PRFCNT": "sample string 17",
"ITEMTEXT": "sample string 18",
"TAXAMT": "sample string 19",
"CUSTPARTNO": "sample string 20",
"CUSTPARTDESC": "sample string 21",
"IMEINO": "sample string 22",
"OLDITEMID": "sample string 23",
"CHANGEREASON": "sample string 24",
"GRADE": "sample string 25",
"JOBID": "sample string 26",
"SCHEMEID": "sample string 27"
}
],
"TAXDETAILS": [
{
"SRNO": "sample string 1",
"SONO": "sample string 2",
"SOSRNO": "sample string 3",
"CONDID": "sample string 4",
"CONDTYPE": "sample string 5",
"GLCODE": "sample string 6",
"RATE": "sample string 7",
"BASEAMT": "sample string 8",
"PID": "sample string 9",
"TAXAMT": "sample string 10",
"OPERATOR": "sample string 11"
},
{
"SRNO": "sample string 1",
"SONO": "sample string 2",
"SOSRNO": "sample string 3",
"CONDID": "sample string 4",
"CONDTYPE": "sample string 5",
"GLCODE": "sample string 6",
"RATE": "sample string 7",
"BASEAMT": "sample string 8",
"PID": "sample string 9",
"TAXAMT": "sample string 10",
"OPERATOR": "sample string 11"
}
],
"CHARGEDETAILS": [
{
"SRNO": "sample string 1",
"SONO": "sample string 2",
"CHARGETYPE": "sample string 3",
"CHARGEAMT": "sample string 4"
},
{
"SRNO": "sample string 1",
"SONO": "sample string 2",
"CHARGETYPE": "sample string 3",
"CHARGEAMT": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<SalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuikE_WebAPI.Models">
<BILLTOCODE>sample string 6</BILLTOCODE>
<CHARGEDETAILS>
<LSTCHARGEDETAILS>
<CHARGEAMT>sample string 4</CHARGEAMT>
<CHARGETYPE>sample string 3</CHARGETYPE>
<SONO>sample string 2</SONO>
<SRNO>sample string 1</SRNO>
</LSTCHARGEDETAILS>
<LSTCHARGEDETAILS>
<CHARGEAMT>sample string 4</CHARGEAMT>
<CHARGETYPE>sample string 3</CHARGETYPE>
<SONO>sample string 2</SONO>
<SRNO>sample string 1</SRNO>
</LSTCHARGEDETAILS>
</CHARGEDETAILS>
<CITY>sample string 22</CITY>
<COMMAGENT>sample string 28</COMMAGENT>
<CUSTADD1>sample string 19</CUSTADD1>
<CUSTADD2>sample string 20</CUSTADD2>
<CUSTADD3>sample string 21</CUSTADD3>
<CUSTEMAILID>sample string 26</CUSTEMAILID>
<CUSTMOBILENO>sample string 25</CUSTMOBILENO>
<CUSTNAME>sample string 18</CUSTNAME>
<DISTCHNL>sample string 5</DISTCHNL>
<ENTITYID>sample string 36</ENTITYID>
<GOKWIKFLAG>sample string 40</GOKWIKFLAG>
<ITEMDETAILS>
<LSTITEMDETAILS>
<CAMOUNT>sample string 12</CAMOUNT>
<CHANGEREASON>sample string 24</CHANGEREASON>
<COSTCENTER>sample string 16</COSTCENTER>
<CUSTPARTDESC>sample string 21</CUSTPARTDESC>
<CUSTPARTNO>sample string 20</CUSTPARTNO>
<DELIDT>sample string 14</DELIDT>
<DISCAMT>sample string 13</DISCAMT>
<GLCODE>sample string 15</GLCODE>
<GRADE>sample string 25</GRADE>
<IMEINO>sample string 22</IMEINO>
<ITEMCODE>sample string 3</ITEMCODE>
<ITEMDESC>sample string 5</ITEMDESC>
<ITEMGROUPID>sample string 8</ITEMGROUPID>
<ITEMID>sample string 4</ITEMID>
<ITEMTEXT>sample string 18</ITEMTEXT>
<JOBID>sample string 26</JOBID>
<LOCCD>sample string 7</LOCCD>
<OLDITEMID>sample string 23</OLDITEMID>
<PLANTCODE>sample string 6</PLANTCODE>
<PRFCNT>sample string 17</PRFCNT>
<RATE>sample string 11</RATE>
<SCHEMEID>sample string 27</SCHEMEID>
<SONO>sample string 1</SONO>
<SOQTY>sample string 9</SOQTY>
<SRNO>sample string 2</SRNO>
<TAXAMT>sample string 19</TAXAMT>
<UOM>sample string 10</UOM>
</LSTITEMDETAILS>
<LSTITEMDETAILS>
<CAMOUNT>sample string 12</CAMOUNT>
<CHANGEREASON>sample string 24</CHANGEREASON>
<COSTCENTER>sample string 16</COSTCENTER>
<CUSTPARTDESC>sample string 21</CUSTPARTDESC>
<CUSTPARTNO>sample string 20</CUSTPARTNO>
<DELIDT>sample string 14</DELIDT>
<DISCAMT>sample string 13</DISCAMT>
<GLCODE>sample string 15</GLCODE>
<GRADE>sample string 25</GRADE>
<IMEINO>sample string 22</IMEINO>
<ITEMCODE>sample string 3</ITEMCODE>
<ITEMDESC>sample string 5</ITEMDESC>
<ITEMGROUPID>sample string 8</ITEMGROUPID>
<ITEMID>sample string 4</ITEMID>
<ITEMTEXT>sample string 18</ITEMTEXT>
<JOBID>sample string 26</JOBID>
<LOCCD>sample string 7</LOCCD>
<OLDITEMID>sample string 23</OLDITEMID>
<PLANTCODE>sample string 6</PLANTCODE>
<PRFCNT>sample string 17</PRFCNT>
<RATE>sample string 11</RATE>
<SCHEMEID>sample string 27</SCHEMEID>
<SONO>sample string 1</SONO>
<SOQTY>sample string 9</SOQTY>
<SRNO>sample string 2</SRNO>
<TAXAMT>sample string 19</TAXAMT>
<UOM>sample string 10</UOM>
</LSTITEMDETAILS>
</ITEMDETAILS>
<JOBID>sample string 27</JOBID>
<NETSOAMT>sample string 14</NETSOAMT>
<NETTAXAMT>sample string 12</NETTAXAMT>
<NETVALUEAMT>sample string 11</NETVALUEAMT>
<PAYGATEWAY>sample string 35</PAYGATEWAY>
<PAYMENTTERMS>sample string 8</PAYMENTTERMS>
<PAYMODE>30</PAYMODE>
<PINCODE>sample string 24</PINCODE>
<PREPAIDAMT>sample string 31</PREPAIDAMT>
<REFDT>sample string 16</REFDT>
<REFNO>sample string 15</REFNO>
<REMAINAMT>sample string 32</REMAINAMT>
<REMARKS>sample string 9</REMARKS>
<SALESFORM>17</SALESFORM>
<SCHEMEID>29</SCHEMEID>
<SEGMENT>sample string 4</SEGMENT>
<SHIPTOCODE>sample string 7</SHIPTOCODE>
<SODATE>sample string 3</SODATE>
<SONO>sample string 2</SONO>
<SOTYPE>sample string 1</SOTYPE>
<STATEID>23</STATEID>
<STATUS>10</STATUS>
<TAXDETAILS>
<LSTTAXDETAILS>
<BASEAMT>sample string 8</BASEAMT>
<CONDID>sample string 4</CONDID>
<CONDTYPE>sample string 5</CONDTYPE>
<GLCODE>sample string 6</GLCODE>
<OPERATOR>sample string 11</OPERATOR>
<PID>sample string 9</PID>
<RATE>sample string 7</RATE>
<SONO>sample string 2</SONO>
<SOSRNO>sample string 3</SOSRNO>
<SRNO>sample string 1</SRNO>
<TAXAMT>sample string 10</TAXAMT>
</LSTTAXDETAILS>
<LSTTAXDETAILS>
<BASEAMT>sample string 8</BASEAMT>
<CONDID>sample string 4</CONDID>
<CONDTYPE>sample string 5</CONDTYPE>
<GLCODE>sample string 6</GLCODE>
<OPERATOR>sample string 11</OPERATOR>
<PID>sample string 9</PID>
<RATE>sample string 7</RATE>
<SONO>sample string 2</SONO>
<SOSRNO>sample string 3</SOSRNO>
<SRNO>sample string 1</SRNO>
<TAXAMT>sample string 10</TAXAMT>
</LSTTAXDETAILS>
</TAXDETAILS>
<TOTALDISCOUNTAMT>sample string 13</TOTALDISCOUNTAMT>
<TXNDT>sample string 34</TXNDT>
<TXNNO>sample string 33</TXNNO>
<UTMCAMPAIGN>sample string 38</UTMCAMPAIGN>
<UTMMEDIUM>sample string 39</UTMMEDIUM>
<UTMSOURCE>sample string 37</UTMSOURCE>
</SalesOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |