POST api/Masters/Bunk

Request Information

URI Parameters

None.

Body Parameters

OilBunks
NameDescriptionTypeAdditional information
username

string

None.

BunkID

integer

None.

BunkName

string

None.

VisitCount

integer

None.

Key

string

None.

role

string

None.

FuelType

string

None.

CreatedDate

string

None.

CreatedUser

string

None.

IsActive

string

None.

ModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "BunkID": 2,
  "BunkName": "sample string 3",
  "VisitCount": 4,
  "Key": "sample string 5",
  "role": "sample string 6",
  "FuelType": "sample string 7",
  "CreatedDate": "sample string 8",
  "CreatedUser": "sample string 9",
  "IsActive": "sample string 10",
  "ModifiedUser": "sample string 11"
}

application/xml, text/xml

Sample:
<OilBunks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusApi.Models">
  <BunkID>2</BunkID>
  <BunkName>sample string 3</BunkName>
  <CreatedDate>sample string 8</CreatedDate>
  <CreatedUser>sample string 9</CreatedUser>
  <FuelType>sample string 7</FuelType>
  <IsActive>sample string 10</IsActive>
  <Key>sample string 5</Key>
  <ModifiedUser>sample string 11</ModifiedUser>
  <VisitCount>4</VisitCount>
  <role>sample string 6</role>
  <username>sample string 1</username>
</OilBunks>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.