PUT api/TransportationUnitHeaders/Update?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
EditTransportationUnitHeaderName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
Code | string |
Required Data type: Text String length: inclusive between 0 and 30 |
|
Name | string |
Required Data type: Text String length: inclusive between 0 and 30 |
|
Description | string |
Required Data type: Text String length: inclusive between 0 and 256 |
|
TransportationRatingId | integer |
Required |
|
TransportationTypeId | integer |
Required |
|
TransportationSeatTypeId | integer |
Required |
|
TransportationProfileId | integer |
Required |
|
ImageUrl | string |
None. |
|
TinyImageUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Code": "sample string 2", "Name": "sample string 3", "Description": "sample string 4", "TransportationRatingId": 5, "TransportationTypeId": 6, "TransportationSeatTypeId": 7, "TransportationProfileId": 8, "ImageUrl": "sample string 9", "TinyImageUrl": "sample string 10" }
application/xml, text/xml
Sample:
<EditTransportationUnitHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Code>sample string 2</Code> <Description>sample string 4</Description> <Id>0</Id> <ImageUrl>sample string 9</ImageUrl> <Name>sample string 3</Name> <TinyImageUrl>sample string 10</TinyImageUrl> <TransportationProfileId>8</TransportationProfileId> <TransportationRatingId>5</TransportationRatingId> <TransportationSeatTypeId>7</TransportationSeatTypeId> <TransportationTypeId>6</TransportationTypeId> <Id>1</Id> </EditTransportationUnitHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.