PUT Brands

Updates the brand.

Request Information

URI Parameters

None.

Body Parameters

The new data of the fuel (with its correspondent ID).

BrandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

NetworkId

globally unique identifier

None.

Name

string

None.

BrandFuelMasters

Collection of BrandFuelMasterDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "40ec3a9f-5fb1-4ce7-b8be-5b723898a27a",
  "NetworkId": "6d22a313-0b3d-4374-8e3a-c2272040b0f8",
  "Name": "sample string 3",
  "BrandFuelMasters": [
    {
      "FuelMasterId": "3ff09fb5-d6fe-4982-a028-80138ccb9d73",
      "FuelMasterName": "sample string 3",
      "Name": "sample string 4"
    },
    {
      "FuelMasterId": "3ff09fb5-d6fe-4982-a028-80138ccb9d73",
      "FuelMasterName": "sample string 3",
      "Name": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<BrandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <BrandFuelMasters>
    <BrandFuelMasterDto>
      <FuelMasterId>3ff09fb5-d6fe-4982-a028-80138ccb9d73</FuelMasterId>
      <FuelMasterName>sample string 3</FuelMasterName>
      <Id>6910ef27-58d0-444c-9e15-6b7d2f82f57b</Id>
      <Name>sample string 4</Name>
    </BrandFuelMasterDto>
    <BrandFuelMasterDto>
      <FuelMasterId>3ff09fb5-d6fe-4982-a028-80138ccb9d73</FuelMasterId>
      <FuelMasterName>sample string 3</FuelMasterName>
      <Id>6910ef27-58d0-444c-9e15-6b7d2f82f57b</Id>
      <Name>sample string 4</Name>
    </BrandFuelMasterDto>
  </BrandFuelMasters>
  <Id>40ec3a9f-5fb1-4ce7-b8be-5b723898a27a</Id>
  <Name>sample string 3</Name>
  <NetworkId>6d22a313-0b3d-4374-8e3a-c2272040b0f8</NetworkId>
</BrandDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.