POST api/LicenceType

Request Information

URI Parameters

None.

Body Parameters

LicenceTypeModel
NameDescriptionTypeAdditional information
TypeId

globally unique identifier

None.

Name

string

None.

Days

integer

None.

IsTrailType

boolean

None.

Status

boolean

None.

CreatedOn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeId": "c17f85de-861e-47f9-8c4d-0b53e4ffd077",
  "Name": "sample string 2",
  "Days": 3,
  "IsTrailType": true,
  "Status": true,
  "CreatedOn": "sample string 6"
}

application/xml, text/xml

Sample:
<LicenceTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EditPointService.Models">
  <CreatedOn>sample string 6</CreatedOn>
  <Days>3</Days>
  <IsTrailType>true</IsTrailType>
  <Name>sample string 2</Name>
  <Status>true</Status>
  <TypeId>c17f85de-861e-47f9-8c4d-0b53e4ffd077</TypeId>
</LicenceTypeModel>

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.