Customer Part, Delete
Deletes an existing Customer Part using the supplied data.
URL
/api/customer-part-delete
Request Method
POST
Expandable Program
Customer Part Editor (SOECP)
Required Fields
PART_ID
CUSTOMER_ID
CUST_PART_ID
AUTH_TOKEN
CUSTOMER_ID
CUST_PART_ID
AUTH_TOKEN
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
{
"PART_ID": "PUMP002",
"CUSTOMER_ID": "ABCCORP",
"CUST_PART_ID": "LARGE-HYDRAULIC-PUMP",
"AUTH_TOKEN": ""
}
Full Request JSON
{
"PART_ID": "",
"CUSTOMER_ID": "",
"CUST_PART_ID": "",
"AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:
200/OK
Returned JSON contains nothing:
200/OK
Returned JSON contains nothing:
{}
Failure Response
Returned HTTP status indicates failure:
400/Request JSON is invalid.
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 Customer Part deletion:
400/Request JSON is invalid.
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 Customer Part deletion:
{
"MESSAGE": "",
"MESSAGE_CODE": ""
}
