POST api/ROUTEMASTER

Request Information

URI Parameters

None.

Body Parameters

ROUTEMASTER
NameDescriptionTypeAdditional information
branch

integer

None.

code

integer

None.

name

string

None.

roottype

string

None.

totdistance

integer

None.

totsoct

string

None.

EDISTANCE

decimal number

None.

MTIME

string

None.

ETIME

string

None.

CreatedOn

date

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

UpdateCount

integer

None.

UsageCount

integer

None.

Id

integer

None.

Active

boolean

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "branch": 1,
  "code": 2,
  "name": "sample string 3",
  "roottype": "sample string 4",
  "totdistance": 5,
  "totsoct": "sample string 6",
  "EDISTANCE": 7.1,
  "MTIME": "sample string 8",
  "ETIME": "sample string 9",
  "CreatedOn": "2025-12-17T14:33:29.8890536+05:30",
  "UpdatedBy": "sample string 11",
  "UpdatedOn": "2025-12-17T14:33:29.8890536+05:30",
  "UpdateCount": 13,
  "UsageCount": 14,
  "Id": 15,
  "Active": true,
  "CreatedBy": "sample string 17"
}

application/xml, text/xml

Sample:
<ROUTEMASTER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model">
  <Active>true</Active>
  <CreatedBy>sample string 17</CreatedBy>
  <Id>15</Id>
  <CreatedOn>2025-12-17T14:33:29.8890536+05:30</CreatedOn>
  <EDISTANCE>7.1</EDISTANCE>
  <ETIME>sample string 9</ETIME>
  <MTIME>sample string 8</MTIME>
  <UpdateCount>13</UpdateCount>
  <UpdatedBy>sample string 11</UpdatedBy>
  <UpdatedOn>2025-12-17T14:33:29.8890536+05:30</UpdatedOn>
  <UsageCount>14</UsageCount>
  <branch>1</branch>
  <code>2</code>
  <name>sample string 3</name>
  <roottype>sample string 4</roottype>
  <totdistance>5</totdistance>
  <totsoct>sample string 6</totsoct>
</ROUTEMASTER>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.