API Version Auth Token Data Sources Server Time
AP Check Update AP Invoice Entry
AR Invoice Entry AR Remittance Entry
GL Account
Adjustments Entry Backflush Kit Issue Issues Entry Part
Physical Count Entry
Stock Status Stores Transfer
Serial Number Cross Reference WIP Completions Entry
Lot
Multiple Location
Bill of Material
Purchase Order PO Receipts Entry Receipt Transaction Vendor Vendor Contact Vendor Part
Customer Customer Contact Customer Part Product Price Sales Order Serial Number Shipments Entry Shipment Transaction



Physical Count Entry, Create

Creates a new Physical Count Entry transaction using the supplied data and returns the details of the transaction.

URL
/api/physical-count-entry-create
Request Method
POST
Expandable Program
Physical Count Entry (ICTCE)
Required Fields
HEADER:
WORKSHEET_DATE
STORES_CODE

DETAILS:
PART_ID
STOCK_LOCATION
PHYSICAL_QTY
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
  "WORKSHEET_DATE": "2016-01-11",
  "STORES_CODE": "MA",
  "DETAILS": [
    {
      "PART_ID": "MOTOR003",
      "STOCK_LOCATION": "ISLE 7/SHELF 4",
      "ML_LOCATION": "ISLE 7/SHELF 4",
      "LOT_ID": "LOT_55",
      "PHYSICAL_QTY": "25"
    },
    {
      "PART_ID": "MOTOR003",
      "STOCK_LOCATION": "ISLE 7/SHELF 4",
      "ML_LOCATION": "STAGING",
      "LOT_ID": "LOT_56",
      "PHYSICAL_QTY": "17"
    },
    {
      "PART_ID": "MOUNT007",
      "STOCK_LOCATION": "ISLE 12/SHELF 1",
      "ML_LOCATION": "ISLE 12/SHELF 1",
      "LOT_ID": "LOT_21",
      "PHYSICAL_QTY": "5"
    },
    {
      "PART_ID": "MOUNT007",
      "STOCK_LOCATION": "ISLE 12/SHELF 1",
      "ML_LOCATION": "STAGING",
      "LOT_ID": "LOT_25",
      "PHYSICAL_QTY": "1"
    }
  ],
  "AUTH_TOKEN": ""
}
Full Request JSON
{
  "WORKSHEET_DATE": "",
  "STORES_CODE": "",
  "DETAILS": [
    {
      "PART_ID": "",
      "STOCK_LOCATION": "",
      "ML_LOCATION": "",
      "LOT_ID": "",
      "PHYSICAL_QTY": ""
    }
  ],
  "AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:

200/OK

Returned JSON contains the details of the successful transaction:
{
  "WORKSHEET_DATE": "",
  "STORES_CODE": "",
  "STORES_DESC": "",
  "DETAILS": [
    {
      "COMPANY_ID": "",
      "IC_ADJ_DEPT": "",
      "IC_ADJ_ACCOUNT": "",
      "PART_ID": "",
      "PART_DESC": "",
      "STOCK_LOCATION": "",
      "MULTI_LOC": "",
      "ML_LOCATION": "",
      "LOC_OH": "",
      "ON_HAND_QTY": "",
      "LOT_ID": "",
      "LOT_OH": "",
      "PHYSICAL_QTY": "",
      "TOTAL_STD_COST": ""
    }
  ]
}
Failure Response
Returned HTTP status indicates failure:

400/Request JSON is invalid.
400/Request has no Details.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)

Returned JSON contains error information for the failed transaction:
{
  "MESSAGE": "",
  "MESSAGE_CODE": ""
}
Try the API