PUT forms/{id}/send
Assign a form to a dispatcher
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | The id of the form |
Define this parameter in the request URI. |
| model | The form containing the id of the dispatcher company |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"TransportFirmId": 1
}
application/xml, text/xml
Sample:
<AssignDispatcherRest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TransportFirmId>1</TransportFirmId> </AssignDispatcherRest>
Response Information
Response body formats
application/json, text/json
Sample:
{
"Uri": "/forms/1",
"CreatedAt": "0001-01-01T00:00:00",
"LastUpdatedAt": "0001-01-01T00:00:00",
"Id": 1,
"Name": "FRM 14616",
"TypeId": 1,
"AddressId": 0,
"CompanyName": "Fruithandel van holle",
"StreetNr": null,
"Zip": null,
"City": null,
"CountryCode": null,
"DispatcherId": null,
"Status": null,
"CurrentVersion": 0,
"CustomFields": null
}
