Code Group |
Code |
Comments |
|---|---|---|
| 1XXX: common request param error |
1001 | Param is required. |
| 1002 | Repository item not found via request | |
| 1003 | Param max length is invalid. | |
| 1004 | Param min length is invalid. | |
| 1005 | Param regular expression is invalid. | |
| 1006 | Request param requestBody is not a valid | |
| 1007 | Request param caused validation exception | |
| 1008 | Request param caused form error | |
| 2XXX: current profile error |
2001 | Current profile in request is empty |
| 2002 | Current profile type/instance in request is empty | |
| 2003 | Current profile in request do not have available accounts | |
| 2004 | Current profile is unauthorized | |
| 2005 | Current profile is already authorized | |
| 2006 | Current profile is permission denied | |
| 3XXX: specified request param error |
3001 | Request param account id is not available/not belong to current profile |
| 3002 | Request param product id is not available to current region of current profile | |
| 3003 | Request param profile id is not equal to current profile | |
| 3004 | Request param profile id is not found | |
| 3005 | Request param site id is not equal to current site | |
| 3006 | Request param sku id is not available to current region of current profile | |
| 3007 | Request param shipping is invalid to current region of current profile | |
| 3008 | Device tokens not found | |
| 4XXX: system level common error |
4001 | System error |
| 4002 | Mincron error | |
| 4003 | ATG Order version invalid error | |
| 4004 | Delivery Tracking Error | |
| 4005 | Delete Device Token Error | |
| 4008 | Integration Time Out | |
| 5XXX: specified response error |
5001 | Submit order failed response |
| 5002 | Submit order failed with integration exception message returned | |
| 5003 | Query order detail not match with current | |
| 5004 | No result is returned to order history | |
| 5005 | Template name invalid | |
| 5006 | Need change account | |
| 5007 | Account no longer available for current user | |
| 5008 | Illegal data | |
| 5009 | Account token invalid | |
| 5010 | No current Order | |
| 5011 | Quote order account not match | |
| 5301 | BillTrust error |
1. This service returns the current order review info
2. Job name and number combination rule:
1). Job Account Drop Down: the option is selected in drop-down will be filled into job number field when when invoking /submitCurrentOrder endpoint. 2). Job name text field: the value will be filled into job name field when invoking /submitCurrentOrder endpoint.Condition |
Display Rule |
||||
|---|---|---|---|---|---|
showJobName |
jobNameRequired |
showJobNumber |
jobNumberRequired |
Job Account Drop Down |
Job Name Text Field |
| N | N | Y | Y | Show Job Account Drop Down, option values are retrieved from jobs array in the response payload. It is a required field | Hide Job Name Text Field |
| Y | Y | N | N | Hide Job Account Drop Down | Show Job Name Text Field, customer is able to enter job name freely, and it's required |
| Y | N | N | N | Hide Job Account Drop Down | Show Job Name Text Field, but it is optional |
| Y | Y | Y | N | Show Job Account Drop Down, but it is optional | Show Job Name Text Field, and it is required. Customer is able to enter job name freely, or choose an option from job account drop down, but job name text field will be auto filled once job account selected |
| Y | N | Y | N | Show Job Account Drop Down, but it is optional | Show Job Name Text Field, and it is optional. Customer is able to enter job name freely, or choose an option from job account drop down, but job name text field will be auto filled once job account selected |
Required |
|||
|---|---|---|---|
shownExtendedPO |
extendedPORequired |
poRequired |
Display Rule |
| Y | Y | / | Only show Extended PO Text Field, and it is required. |
| Y | N | / | Only show Extended PO Text Field, but it is optional. |
| N | / | Y | Only show PO Text Field, and it is required. |
| N | / | N | Only show PO Text Field, but it is optional. |