POST _api/AMTAPI/GetDepartmentInfo

Request Information

URI Parameters

None.

Body Parameters

GetParambyID
NameDescriptionTypeAdditional information
Id

integer

Required

RequestType

string

Required

RefNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RequestType": "sample string 2",
  "RefNo": "sample string 3"
}

application/xml, text/xml

Sample:
<GetParambyID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI.Models">
  <Id>1</Id>
  <RefNo>sample string 3</RefNo>
  <RequestType>sample string 2</RequestType>
</GetParambyID>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.