POST v1/user/shipmentProblem/create
MOBILE - Creates a problem report for a shipment
Request Information
URI Parameters
None.
Body Parameters
ShipmentProblemCreateRequestModelName | Description | Type | Additional information |
---|---|---|---|
problem_shipment_id |
Shipment ID to request a problem for |
integer |
Required |
problem_type_id |
Type of the problem to request |
integer |
Required |
problem_duration_type_id |
Duration type of the problem to request |
integer |
Required |
problem_comment |
Optional extra comments on the problem |
string |
Data type: MultilineText |
user_id |
User ID (GUID) |
string |
Required Data type: Text |
user_signature |
MD5 hash signature for the active user to validate the request |
string |
Required Data type: Text |
Request Format
application/json, text/json
Sample:
{ "problem_shipment_id": 1, "problem_type_id": 2, "problem_duration_type_id": 3, "problem_comment": "sample string 4", "user_id": "sample string 5", "user_signature": "sample string 6" }
Response Information
Resource Description
MOBILE - Creates a problem report for a shipment
BaseMetaResultModelOfShipmentProblemName | Description | Type | Additional information |
---|---|---|---|
response | ShipmentProblem |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": { "shp_id": 1, "shp_shipment_id": 2, "shp_driver_user_id": 4, "shp_driver_user_name": "sample string 5", "shp_date_time": "2024-11-25T22:57:10.6968378+03:00", "shp_type_id": 7, "shp_type_name": "sample string 8", "shp_duration_type_id": 9, "shp_duration_type_name": "sample string 10", "shp_comment": "sample string 11" }, "meta": { "status_code": 1, "status_message": "sample string 2" } }