POST api/TPS/GetTPSTotal
Request Information
URI Parameters
None.
Body Parameters
Orders| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| OrderID | integer |
None. |
|
| Company | string |
None. |
|
| Segment | string |
None. |
|
| Group | string |
None. |
|
| SLPRSNID | string |
None. |
|
| RepName | string |
None. |
|
| DOCDATE | date |
None. |
|
| ReqShipDate | date |
None. |
|
| SOPNUMBE | string |
None. |
|
| CUSTNMBR | string |
None. |
|
| CUSTNAME | string |
None. |
|
| PRSTADCD | string |
None. |
|
| STAdd1 | string |
None. |
|
| STAdd2 | string |
None. |
|
| STCity | string |
None. |
|
| STState | string |
None. |
|
| STZip | string |
None. |
|
| PRBTADCD | string |
None. |
|
| BTAdd1 | string |
None. |
|
| BTAdd2 | string |
None. |
|
| BTCity | string |
None. |
|
| BTState | string |
None. |
|
| BTZip | string |
None. |
|
| SALSTERR | string |
None. |
|
| UPSZONE | string |
None. |
|
| DOCAMNT | decimal number |
None. |
|
| SUBTOTAL | decimal number |
None. |
|
| TAXAMNT | decimal number |
None. |
|
| LOCNCODE | string |
None. |
|
| LOCNCODEAbbrev | string |
None. |
|
| OrderComments | string |
None. |
|
| OrderNotes | string |
None. |
|
| LNITMSEQ | integer |
None. |
|
| LINELOCNCODE | string |
None. |
|
| ITEMNMBR | string |
None. |
|
| ITEMDESC | string |
None. |
|
| UOFM | string |
None. |
|
| QUANTITY | decimal number |
None. |
|
| UNITCOST | decimal number |
None. |
|
| UNITPRCE | decimal number |
None. |
|
| EXTDCOST | decimal number |
None. |
|
| XTNDPRCE | decimal number |
None. |
|
| MarginDollars | decimal number |
None. |
|
| MarginPerc | decimal number |
None. |
|
| NumOrders | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"OrderID": 2,
"Company": "sample string 3",
"Segment": "sample string 4",
"Group": "sample string 5",
"SLPRSNID": "sample string 6",
"RepName": "sample string 7",
"DOCDATE": "2026-11-21T14:52:54.1863391+00:00",
"ReqShipDate": "2026-11-21T14:52:54.1863391+00:00",
"SOPNUMBE": "sample string 10",
"CUSTNMBR": "sample string 11",
"CUSTNAME": "sample string 12",
"PRSTADCD": "sample string 13",
"STAdd1": "sample string 14",
"STAdd2": "sample string 15",
"STCity": "sample string 16",
"STState": "sample string 17",
"STZip": "sample string 18",
"PRBTADCD": "sample string 19",
"BTAdd1": "sample string 20",
"BTAdd2": "sample string 21",
"BTCity": "sample string 22",
"BTState": "sample string 23",
"BTZip": "sample string 24",
"SALSTERR": "sample string 25",
"UPSZONE": "sample string 26",
"DOCAMNT": 27.1,
"SUBTOTAL": 28.1,
"TAXAMNT": 29.1,
"LOCNCODE": "sample string 30",
"LOCNCODEAbbrev": "sample string 31",
"OrderComments": "sample string 32",
"OrderNotes": "sample string 33",
"LNITMSEQ": 34,
"LINELOCNCODE": "sample string 35",
"ITEMNMBR": "sample string 36",
"ITEMDESC": "sample string 37",
"UOFM": "sample string 38",
"QUANTITY": 39.1,
"UNITCOST": 40.1,
"UNITPRCE": 41.1,
"EXTDCOST": 42.1,
"XTNDPRCE": 43.1,
"MarginDollars": 1.0,
"MarginPerc": 2.32,
"NumOrders": 46
}
application/xml, text/xml
Sample:
<Orders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models"> <BTAdd1>sample string 20</BTAdd1> <BTAdd2>sample string 21</BTAdd2> <BTCity>sample string 22</BTCity> <BTState>sample string 23</BTState> <BTZip>sample string 24</BTZip> <CUSTNAME>sample string 12</CUSTNAME> <CUSTNMBR>sample string 11</CUSTNMBR> <Company>sample string 3</Company> <DOCAMNT>27.1</DOCAMNT> <DOCDATE>2026-11-21T14:52:54.1863391+00:00</DOCDATE> <EXTDCOST>42.1</EXTDCOST> <EmpId>1</EmpId> <Group>sample string 5</Group> <ITEMDESC>sample string 37</ITEMDESC> <ITEMNMBR>sample string 36</ITEMNMBR> <LINELOCNCODE>sample string 35</LINELOCNCODE> <LNITMSEQ>34</LNITMSEQ> <LOCNCODE>sample string 30</LOCNCODE> <LOCNCODEAbbrev>sample string 31</LOCNCODEAbbrev> <MarginDollars>1</MarginDollars> <MarginPerc>2.32</MarginPerc> <NumOrders>46</NumOrders> <OrderComments>sample string 32</OrderComments> <OrderID>2</OrderID> <OrderNotes>sample string 33</OrderNotes> <PRBTADCD>sample string 19</PRBTADCD> <PRSTADCD>sample string 13</PRSTADCD> <QUANTITY>39.1</QUANTITY> <RepName>sample string 7</RepName> <ReqShipDate>2026-11-21T14:52:54.1863391+00:00</ReqShipDate> <SALSTERR>sample string 25</SALSTERR> <SLPRSNID>sample string 6</SLPRSNID> <SOPNUMBE>sample string 10</SOPNUMBE> <STAdd1>sample string 14</STAdd1> <STAdd2>sample string 15</STAdd2> <STCity>sample string 16</STCity> <STState>sample string 17</STState> <STZip>sample string 18</STZip> <SUBTOTAL>28.1</SUBTOTAL> <Segment>sample string 4</Segment> <TAXAMNT>29.1</TAXAMNT> <UNITCOST>40.1</UNITCOST> <UNITPRCE>41.1</UNITPRCE> <UOFM>sample string 38</UOFM> <UPSZONE>sample string 26</UPSZONE> <XTNDPRCE>43.1</XTNDPRCE> </Orders>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Orders| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| OrderID | integer |
None. |
|
| Company | string |
None. |
|
| Segment | string |
None. |
|
| Group | string |
None. |
|
| SLPRSNID | string |
None. |
|
| RepName | string |
None. |
|
| DOCDATE | date |
None. |
|
| ReqShipDate | date |
None. |
|
| SOPNUMBE | string |
None. |
|
| CUSTNMBR | string |
None. |
|
| CUSTNAME | string |
None. |
|
| PRSTADCD | string |
None. |
|
| STAdd1 | string |
None. |
|
| STAdd2 | string |
None. |
|
| STCity | string |
None. |
|
| STState | string |
None. |
|
| STZip | string |
None. |
|
| PRBTADCD | string |
None. |
|
| BTAdd1 | string |
None. |
|
| BTAdd2 | string |
None. |
|
| BTCity | string |
None. |
|
| BTState | string |
None. |
|
| BTZip | string |
None. |
|
| SALSTERR | string |
None. |
|
| UPSZONE | string |
None. |
|
| DOCAMNT | decimal number |
None. |
|
| SUBTOTAL | decimal number |
None. |
|
| TAXAMNT | decimal number |
None. |
|
| LOCNCODE | string |
None. |
|
| LOCNCODEAbbrev | string |
None. |
|
| OrderComments | string |
None. |
|
| OrderNotes | string |
None. |
|
| LNITMSEQ | integer |
None. |
|
| LINELOCNCODE | string |
None. |
|
| ITEMNMBR | string |
None. |
|
| ITEMDESC | string |
None. |
|
| UOFM | string |
None. |
|
| QUANTITY | decimal number |
None. |
|
| UNITCOST | decimal number |
None. |
|
| UNITPRCE | decimal number |
None. |
|
| EXTDCOST | decimal number |
None. |
|
| XTNDPRCE | decimal number |
None. |
|
| MarginDollars | decimal number |
None. |
|
| MarginPerc | decimal number |
None. |
|
| NumOrders | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmpId": 1,
"OrderID": 2,
"Company": "sample string 3",
"Segment": "sample string 4",
"Group": "sample string 5",
"SLPRSNID": "sample string 6",
"RepName": "sample string 7",
"DOCDATE": "2026-11-21T14:52:54.2220047+00:00",
"ReqShipDate": "2026-11-21T14:52:54.2220047+00:00",
"SOPNUMBE": "sample string 10",
"CUSTNMBR": "sample string 11",
"CUSTNAME": "sample string 12",
"PRSTADCD": "sample string 13",
"STAdd1": "sample string 14",
"STAdd2": "sample string 15",
"STCity": "sample string 16",
"STState": "sample string 17",
"STZip": "sample string 18",
"PRBTADCD": "sample string 19",
"BTAdd1": "sample string 20",
"BTAdd2": "sample string 21",
"BTCity": "sample string 22",
"BTState": "sample string 23",
"BTZip": "sample string 24",
"SALSTERR": "sample string 25",
"UPSZONE": "sample string 26",
"DOCAMNT": 27.1,
"SUBTOTAL": 28.1,
"TAXAMNT": 29.1,
"LOCNCODE": "sample string 30",
"LOCNCODEAbbrev": "sample string 31",
"OrderComments": "sample string 32",
"OrderNotes": "sample string 33",
"LNITMSEQ": 34,
"LINELOCNCODE": "sample string 35",
"ITEMNMBR": "sample string 36",
"ITEMDESC": "sample string 37",
"UOFM": "sample string 38",
"QUANTITY": 39.1,
"UNITCOST": 40.1,
"UNITPRCE": 41.1,
"EXTDCOST": 42.1,
"XTNDPRCE": 43.1,
"MarginDollars": 1.0,
"MarginPerc": 2.32,
"NumOrders": 46
},
{
"EmpId": 1,
"OrderID": 2,
"Company": "sample string 3",
"Segment": "sample string 4",
"Group": "sample string 5",
"SLPRSNID": "sample string 6",
"RepName": "sample string 7",
"DOCDATE": "2026-11-21T14:52:54.2220047+00:00",
"ReqShipDate": "2026-11-21T14:52:54.2220047+00:00",
"SOPNUMBE": "sample string 10",
"CUSTNMBR": "sample string 11",
"CUSTNAME": "sample string 12",
"PRSTADCD": "sample string 13",
"STAdd1": "sample string 14",
"STAdd2": "sample string 15",
"STCity": "sample string 16",
"STState": "sample string 17",
"STZip": "sample string 18",
"PRBTADCD": "sample string 19",
"BTAdd1": "sample string 20",
"BTAdd2": "sample string 21",
"BTCity": "sample string 22",
"BTState": "sample string 23",
"BTZip": "sample string 24",
"SALSTERR": "sample string 25",
"UPSZONE": "sample string 26",
"DOCAMNT": 27.1,
"SUBTOTAL": 28.1,
"TAXAMNT": 29.1,
"LOCNCODE": "sample string 30",
"LOCNCODEAbbrev": "sample string 31",
"OrderComments": "sample string 32",
"OrderNotes": "sample string 33",
"LNITMSEQ": 34,
"LINELOCNCODE": "sample string 35",
"ITEMNMBR": "sample string 36",
"ITEMDESC": "sample string 37",
"UOFM": "sample string 38",
"QUANTITY": 39.1,
"UNITCOST": 40.1,
"UNITPRCE": 41.1,
"EXTDCOST": 42.1,
"XTNDPRCE": 43.1,
"MarginDollars": 1.0,
"MarginPerc": 2.32,
"NumOrders": 46
}
]
application/xml, text/xml
Sample:
<ArrayOfOrders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
<Orders>
<BTAdd1>sample string 20</BTAdd1>
<BTAdd2>sample string 21</BTAdd2>
<BTCity>sample string 22</BTCity>
<BTState>sample string 23</BTState>
<BTZip>sample string 24</BTZip>
<CUSTNAME>sample string 12</CUSTNAME>
<CUSTNMBR>sample string 11</CUSTNMBR>
<Company>sample string 3</Company>
<DOCAMNT>27.1</DOCAMNT>
<DOCDATE>2026-11-21T14:52:54.2220047+00:00</DOCDATE>
<EXTDCOST>42.1</EXTDCOST>
<EmpId>1</EmpId>
<Group>sample string 5</Group>
<ITEMDESC>sample string 37</ITEMDESC>
<ITEMNMBR>sample string 36</ITEMNMBR>
<LINELOCNCODE>sample string 35</LINELOCNCODE>
<LNITMSEQ>34</LNITMSEQ>
<LOCNCODE>sample string 30</LOCNCODE>
<LOCNCODEAbbrev>sample string 31</LOCNCODEAbbrev>
<MarginDollars>1</MarginDollars>
<MarginPerc>2.32</MarginPerc>
<NumOrders>46</NumOrders>
<OrderComments>sample string 32</OrderComments>
<OrderID>2</OrderID>
<OrderNotes>sample string 33</OrderNotes>
<PRBTADCD>sample string 19</PRBTADCD>
<PRSTADCD>sample string 13</PRSTADCD>
<QUANTITY>39.1</QUANTITY>
<RepName>sample string 7</RepName>
<ReqShipDate>2026-11-21T14:52:54.2220047+00:00</ReqShipDate>
<SALSTERR>sample string 25</SALSTERR>
<SLPRSNID>sample string 6</SLPRSNID>
<SOPNUMBE>sample string 10</SOPNUMBE>
<STAdd1>sample string 14</STAdd1>
<STAdd2>sample string 15</STAdd2>
<STCity>sample string 16</STCity>
<STState>sample string 17</STState>
<STZip>sample string 18</STZip>
<SUBTOTAL>28.1</SUBTOTAL>
<Segment>sample string 4</Segment>
<TAXAMNT>29.1</TAXAMNT>
<UNITCOST>40.1</UNITCOST>
<UNITPRCE>41.1</UNITPRCE>
<UOFM>sample string 38</UOFM>
<UPSZONE>sample string 26</UPSZONE>
<XTNDPRCE>43.1</XTNDPRCE>
</Orders>
<Orders>
<BTAdd1>sample string 20</BTAdd1>
<BTAdd2>sample string 21</BTAdd2>
<BTCity>sample string 22</BTCity>
<BTState>sample string 23</BTState>
<BTZip>sample string 24</BTZip>
<CUSTNAME>sample string 12</CUSTNAME>
<CUSTNMBR>sample string 11</CUSTNMBR>
<Company>sample string 3</Company>
<DOCAMNT>27.1</DOCAMNT>
<DOCDATE>2026-11-21T14:52:54.2220047+00:00</DOCDATE>
<EXTDCOST>42.1</EXTDCOST>
<EmpId>1</EmpId>
<Group>sample string 5</Group>
<ITEMDESC>sample string 37</ITEMDESC>
<ITEMNMBR>sample string 36</ITEMNMBR>
<LINELOCNCODE>sample string 35</LINELOCNCODE>
<LNITMSEQ>34</LNITMSEQ>
<LOCNCODE>sample string 30</LOCNCODE>
<LOCNCODEAbbrev>sample string 31</LOCNCODEAbbrev>
<MarginDollars>1</MarginDollars>
<MarginPerc>2.32</MarginPerc>
<NumOrders>46</NumOrders>
<OrderComments>sample string 32</OrderComments>
<OrderID>2</OrderID>
<OrderNotes>sample string 33</OrderNotes>
<PRBTADCD>sample string 19</PRBTADCD>
<PRSTADCD>sample string 13</PRSTADCD>
<QUANTITY>39.1</QUANTITY>
<RepName>sample string 7</RepName>
<ReqShipDate>2026-11-21T14:52:54.2220047+00:00</ReqShipDate>
<SALSTERR>sample string 25</SALSTERR>
<SLPRSNID>sample string 6</SLPRSNID>
<SOPNUMBE>sample string 10</SOPNUMBE>
<STAdd1>sample string 14</STAdd1>
<STAdd2>sample string 15</STAdd2>
<STCity>sample string 16</STCity>
<STState>sample string 17</STState>
<STZip>sample string 18</STZip>
<SUBTOTAL>28.1</SUBTOTAL>
<Segment>sample string 4</Segment>
<TAXAMNT>29.1</TAXAMNT>
<UNITCOST>40.1</UNITCOST>
<UNITPRCE>41.1</UNITPRCE>
<UOFM>sample string 38</UOFM>
<UPSZONE>sample string 26</UPSZONE>
<XTNDPRCE>43.1</XTNDPRCE>
</Orders>
</ArrayOfOrders>