AutoCount WebAPI

<back to all web services

HowerCreateSalesOrderContract

The following routes are available for this service:
POST/HowerAPI/CreateSalesOrder
HowerCreateSalesOrderContract Parameters:
NameParameterData TypeRequiredDescription
DocNobodystringNo
CustomerTrackingNobodystringNo
DebtorCodebodystringNo
BranchCodebodystringNo
JobDescriptionbodystringNo
JobRemarkbodystringNo
PreferredDatebodyDateTime?No
PreferredTimebodyDateTime?No
SalesAgentbodystringNo
DetailsbodyCreateOrderDetail[]No
ContractBase Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
CreateOrderDetail Parameters:
NameParameterData TypeRequiredDescription
ItemCodeformstringNo
DescriptionformstringNo
Desc2formstringNo
FurtherDescriptionformstringNo
UOMformstringNo
QtyformdecimalNo
UnitPriceformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /HowerAPI/CreateSalesOrder HTTP/1.1 
Host: hoxt.hower.com.my 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"DocNo":"String","CustomerTrackingNo":"String","DebtorCode":"String","BranchCode":"String","JobDescription":"String","JobRemark":"String","PreferredDate":"\/Date(-62135596800000-0000)\/","PreferredTime":"\/Date(-62135596800000-0000)\/","SalesAgent":"String","Details":[{"ItemCode":"String","Description":"String","Desc2":"String","FurtherDescription":"String","UOM":"String","Qty":0,"UnitPrice":0}],"Token":"String"}