PUT api/customer/user/{userId}/vehicles?customerId={customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| customerId | integer |
None. |
Body Parameters
AssignVehiclesToUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<AssignVehiclesToUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Models.View">
<VehicleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</VehicleIds>
</AssignVehiclesToUserViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>