WMS REST API iblpn/composite_create
Summary:
Following the example in the REST API Guide I created a REST POST request which is being rejected with error. The code snippet is the Json request.
from the documentation both the facility and company can send the code instead of the ID.
`facility_id` supports string lookup by `code` using the double-underscore notation:
- facility_id__code
Content (required):
Response from API
{
"reference": "f90fd677-2054-4a8d-b5d6-6db71248ae6a",
"code": "VALIDATION_ERROR",
"message": "Invalid input.",
"details": {"iblpn": {
"company_id": "This field is required.",
"facility_id": "This field is required."
}}
}
Version (include the version you are using, if applicable):