POST api/DealerOutlet/UpdateDealerOutlet

Request Information

URI Parameters

None.

Body Parameters

DealerOutletBLL
NameDescriptionTypeAdditional information
DealerOutlet_Id

integer

None.

DealerGroup_Id

integer

None.

OutletType_Id

integer

None.

Region_Id

integer

None.

City_Id

integer

None.

Channel_Id

integer

None.

OutletCode

string

None.

DealerCode

string

None.

OutletName

string

None.

OutletAddress

string

None.

IsActive

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

UserId

integer

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DealerOutlet_Id": 1,
  "DealerGroup_Id": 1,
  "OutletType_Id": 1,
  "Region_Id": 1,
  "City_Id": 1,
  "Channel_Id": 1,
  "OutletCode": "sample string 2",
  "DealerCode": "sample string 3",
  "OutletName": "sample string 4",
  "OutletAddress": "sample string 5",
  "IsActive": true,
  "CreationDate": "2024-12-23T02:36:46.2325313+05:30",
  "ModifiedDate": "2024-12-23T02:36:46.2325313+05:30",
  "UserId": 8,
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<DealerOutletBLL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <Channel_Id>1</Channel_Id>
  <City_Id>1</City_Id>
  <CreationDate>2024-12-23T02:36:46.2325313+05:30</CreationDate>
  <DealerCode>sample string 3</DealerCode>
  <DealerGroup_Id>1</DealerGroup_Id>
  <DealerOutlet_Id>1</DealerOutlet_Id>
  <IsActive>true</IsActive>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2024-12-23T02:36:46.2325313+05:30</ModifiedDate>
  <OutletAddress>sample string 5</OutletAddress>
  <OutletCode>sample string 2</OutletCode>
  <OutletName>sample string 4</OutletName>
  <OutletType_Id>1</OutletType_Id>
  <Region_Id>1</Region_Id>
  <UserId>8</UserId>
</DealerOutletBLL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DealerOutletBLL'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>