POST api/SRAI/CreateOrUpdateTypesOfServiceMaster

Request Information

URI Parameters

None.

Body Parameters

TypesOfServiceMaster
NameDescriptionTypeAdditional information
Name

string

None.

IsActive

boolean

None.

ScribeManId

integer

None.

CreatedBy

string

None.

CreatedOn

string

None.

ModifiedOn

string

None.

ModifiedBy

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "isActive": true,
  "scribeManId": 1,
  "createdBy": "sample string 3",
  "createdOn": "sample string 4",
  "modifiedOn": "sample string 5",
  "modifiedBy": "sample string 6",
  "id": 7
}

application/xml, text/xml

Sample:
<TypesOfServiceMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedOn>sample string 4</CreatedOn>
  <Id>7</Id>
  <IsActive>true</IsActive>
  <ModifiedBy>sample string 6</ModifiedBy>
  <ModifiedOn>sample string 5</ModifiedOn>
  <Name>sample string 1</Name>
  <ScribeManId>1</ScribeManId>
</TypesOfServiceMaster>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.