ArticlesArticles Most Helpful ArticlesMost Helpful Articles Language SettingsLanguage Settings LoginLogin
RSS Feeds
DrillDown Icon Table of Contents Back
 . . . . . . . . . . . . .
DrillDown Icon Hardware and Software Requirements for Installing SQL Server
DrillDown Icon List of Modules Converted to MANEX Client Server
DrillDown Icon Installing SQL Server
DrillDown Icon System Administrator
DrillDown Icon SQL Backup Options
DrillDown Icon Setup the OLE DB(ADO) for SQL Crystal Reports
DrillDown Icon APIs
DrillDown Icon Item Master
DrillDown Icon Work Order API
DrillDown Icon KIT API
DrillDown Icon Shop Floor Tracking API
DrillDown Icon Inventory Handling API
DrillDown Icon Purchase Order API
DrillDown Icon Sales Order API
DrillDown Icon Sales Order
DrillDown Icon Add
DrillDown Icon Edit
DrillDown Icon Get
DrillDown Icon Sales Order Item
DrillDown Icon Sales Order Item Price
DrillDown Icon Sales Order Item Due Date
DrillDown Icon Customer API
DrillDown Icon Q & A API's
DrillDown Icon Code that could be used to find Last Table Modified within SQL
DrillDown Icon Configure SQL Server 2008 R2 to allow Network Connections
DrillDown Icon How to detach and attached databases using the SQL Server Management Studio
DrillDown Icon Restore SQL DB from Backup
DrillDown Icon Setup a SQL Test/Sandbox Database
DrillDown Icon SQLManex Client Server Setup Instructions
DrillDown Icon Setup Folder Permissions to Write "ini" File
DrillDown Icon Setup the ODBC for SQL Crystal Reports
DrillDown Icon Setup a SQL Database Maintenance Plan
DrillDown Icon Setup Task Scheduler to Auto Run MRP
DrillDown Icon Selecting the Authentication Mode
DrillDown Icon Window 10 - Network Disconnect
DrillDown Icon Setup Work Stations
DrillDown Icon Security System
DrillDown Icon Accounting Setup
DrillDown Icon System Setup
DrillDown Icon Operations Manuals
DrillDown Icon System Utilities
DrillDown Icon SQL Server Memory Settings and Performance
DrillDown Icon Definitions
DrillDown Icon How to schedule and automate backups of SQL Server databases in SQL Server Express
DrillDown Icon SQL_FAQ's
  Email This ArticlePrint PreviewPrint Current Article and All Sub-Articles
 
Get

​Function

Sales Order Get API is used to view details of existing sales orders. 

URL-{Root URL}/API/SO/Get/{API Key}

Parameters

Parameter Description Required Comment
SoNo Sales Order Number Y Must be Unique. When adding a new sales order can be left blank. 
custNo Customer Number Y Ten digits, padded to the left with '0'
blinkAdd Billing Link N >
slinkAdd Shipping Address Link N
orderDate Order Date Y Defaults to the Current date. Can be changed using MM-DD-YYYY forma
POAck Purchase Order Acknowledgement N Can be 1 or 0
PoNo Purchase Order Number N Enter the purchase order number related to the sales order.
SONote Sales Order Note N User Input
FOB FOB N Can be ORIGIN-CUST P/U, ORIGIN-SHIP, DESTINATION
ShipVia Ship Via N Defaults with customer. Can be 'COMPANY TRUCK', 'CUST PICK UP', 'UPS-GRND TRACK', 'UPS-BLUE', 'UPS-RED', 'FEDX-P1', 'FEDX-STD'.
shipCharge Shipping Charge N Can be NO CHARGE, PREPAY/BILL CUS, SET RATE:UPS-BR, SET RATE:UPS-BL, SET RATE:UPS-RD, FEDX-1
SoFoot  Sales Order Footnote N User Entry, attaches a footnote to the Sales Order
DELIV_TIME Delivery Time N
Buyer Buyer Name N Must be a pre-existing customer.
ATTENTION Attention Person N Must Be a contact for the customer.
SOAMTDSCT Sales Order Discount N
SOAPPROVAL Sales Order Approval N Can be 0 or 1. If 1 must enter SOAPPRVINIT
SOAPPRVINIT Sales Order Approval Initial N Must be an approved user's initial.
SOAPPRVDT Sales Order Approval Date N System automatically uses the current date.
ACKPO_DOC Acknowledge PO Doc N Adds a PO acknowledge doc
TERMS Terms N Defaults from customer info, can be changed by user.
BILLACCOUNT Bill Account N System uses default from customer information, can be changed by user.

Example Strings

View SO

URL- ?SoNo=SONO

JSON-

{

'SoNo':'SONO',

}

A successful request returns the following

{

$id: "1",

Code: 200,

Message: "Sales Order details:",

SessionId: "41imqmhh3cywo2c2e5u1gzsu",

IsValidUser: true,

-ResponseObject: {

$id: "2",

-SODETAILList: [

-{

$id: "3",

DueDateList: [ ],

SOPRICESList: [ ],

UNIQUELN: "A6WDVN62YM",

UNIQ_KEY: "_44Y0WP6H4",

SONO: "0000000789",

LINE_NO: "0000002",

UOFMEAS: "each",

EACHQTY: 0,

ORD_QTY: 0,

SHIPPEDQTY: 0,

BALANCE: 0,

Sodet_Desc: "Loud ",

TRANS_DAYS: 1,

FSTDUEDT: "2014-11-13T00:00:00",

DELIFREQ: " ",

CATEGORY: "000000000~",

NOTE: "",

EXTENDED: 0,

BULLETIN: "",

WONOFLAG: false,

QTYFROMINV: 0,

STATUS: "STANDARD ",

W_KEY: "_4500WBEBA",

ORIGINUQLN: " ",

PRJUNIQUE: " ",

ARCSTATUS: " ",

PRODTPUNIQ: " ",

PRODTPUKLN: " ",

CNFGQTYPER: 0,

MRPONHOLD: false,

SOURCEINSP: false,

FIRSTARTCL: false,

LFCSTITEM: false,

LWARRANTY: false,

PART_NUM: null,

PRJCT_NUM: null,

REVISION: null

},

-{

$id: "4",

DueDateList: [ ],

SOPRICESList: [ ],

UNIQUELN: "ABDMRI2RMQ",

UNIQ_KEY: "_44Y0WP6H4",

SONO: "0000000789",

LINE_NO: "0000001",

UOFMEAS: "EACH",

EACHQTY: 2,

ORD_QTY: 20,

SHIPPEDQTY: 0,

BALANCE: 10,

Sodet_Desc: "Loud ",

TRANS_DAYS: 1,

FSTDUEDT: "2014-11-13T00:00:00",

DELIFREQ: "MO",

CATEGORY: "000000000~",

NOTE: "",

EXTENDED: 0,

BULLETIN: "",

WONOFLAG: false,

QTYFROMINV: 0,

STATUS: "STANDARD ",

W_KEY: "_4500WBEBA",

ORIGINUQLN: " ",

PRJUNIQUE: " ",

ARCSTATUS: " ",

PRODTPUNIQ: " ",

PRODTPUKLN: " ",

CNFGQTYPER: 0,

MRPONHOLD: false,

SOURCEINSP: false,

FIRSTARTCL: false,

LFCSTITEM: false,

LWARRANTY: false,

PART_NUM: null,

PRJCT_NUM: null,

REVISION: null

}

],

SONO: "0000000789",

BLINKADD: "_4560WJU2L",

SLINKADD: "_4560WL0MU",

CUSTNO: "0000000008",

SHIPNO: " ",

ORDERDATE: "2014-10-23T16:03:00",

TMPACK: false,

TMPACKDT: null,

TMPACKINIT: " ",

POACK: false,

POACKDT: null,

POACKINIT: " ",

PORECEIV: false,

POREINIT: " ",

POREDT: null,

PONO: " ",

CUSTWONO: " ",

SONOTE: "",

ORDPASSWD: " ",

FOB: "ORIGIN-CUST P/U",

SHIPVIA: "UPS-GRND TRACK ",

SHIPCHARGE: "PREPAY/BILL CUS",

IS_CLOSED: false,

DATECHG: null,

SOFOOT: "",

ORD_TYPE: "OPEN ",

DELIV_TIME: "15:30 ",

DELIV_AMPM: " ",

BUYER: " ",

SOAMOUNT: -12,

ATTENTION: " ",

GLDIVNO: " ",

IS_RMA: false,

ORIGINSONO: " ",

INVOICENO: " ",

SOAMTDSCT: 0,

SOEXTEND: 0,

SOTAX: 0,

PRINTPRDT: false,

SOAPPROVAL: false,

SOAPPRVINT: " ",

SOAPPRVDT: null,

SAVEINT: "NA ",

SAVEDT: "2014-10-23T16:03:00",

ACKPO_DOC: " ",

TERMS: "NET 15 ",

SOPTAX: 0,

SOSTAX: 0,

SOCHANGES: "",

BILLACOUNT: " ",

CustomerName: null,

CanApproveSo: false,

UserId: "00000000-0000-0000-0000-000000000000"

}

}

Common Errors

URL Error

If there is a problem with the URL the system will return a HTTP error.

{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/SOGet/123456789?SONO=800'.",

"MessageDetail": "No type was found that matches the controller named 'SOGet'."

}

API Key Error

{

"$id": "1",

"Code": 403,

"Message": "Invalid API Key.",

"SessionId": null,

"IsValidUser": false,

"ResponseObject": null

}

Sales Order Does Not Exist

If the Sales Order Number entered does not refer to an existing sales order the system will return a "Sales Order does not exist" error message.

{

"$id": "1",

"Code": 403,

"Message": "Sales Order does not exists.",

"SessionId": "m2fhqbextbxo334fl4zg5ty0",

"IsValidUser": true,

"ResponseObject": null

}

Article ID: 5759