POST api/Masters/SaveDocumentCategory

Request Information

URI Parameters

None.

Body Parameters

SaveDocumentCategory
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

DocumentCategoryName

string

None.

UserId

integer

None.

Active

boolean

None.

DocumentCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "DocumentCategoryName": "sample string 2",
  "UserId": 3,
  "Active": true,
  "DocumentCategoryId": 5
}

application/xml, text/xml

Sample:
<SaveDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <Active>true</Active>
  <DocumentCategoryId>5</DocumentCategoryId>
  <DocumentCategoryName>sample string 2</DocumentCategoryName>
  <HospitalLocationId>1</HospitalLocationId>
  <UserId>3</UserId>
</SaveDocumentCategory>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.