POST api/SRAI/CreateOrUpdateTimeZone

Request Information

URI Parameters

None.

Body Parameters

TimeZoneMaster
NameDescriptionTypeAdditional information
Name

string

None.

CountryId

integer

None.

IsActive

boolean

None.

Description

string

None.

TZCode

string

None.

ScribeManId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "countryId": 2,
  "isActive": true,
  "description": "sample string 4",
  "tzCode": "sample string 5",
  "scribeManId": 6
}

application/xml, text/xml

Sample:
<TimeZoneMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <CountryId>2</CountryId>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <Name>sample string 1</Name>
  <ScribeManId>6</ScribeManId>
  <TZCode>sample string 5</TZCode>
</TimeZoneMaster>

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 'TimeZoneMaster'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.