POST api/AmendmentRequests

Update the status to an amendment request.

Request Information

URI Parameters

None.

Body Parameters

AmendmentRequestPostModel
NameDescriptionTypeAdditional information
AmendmentRequestId

Gets or sets the amendment request ID.

globally unique identifier

None.

Status

Gets or sets the status of the request. Status should be (Pending, Approved or Denied).

string

None.

DoctorComments

Gets or sets the doctor comments.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "amendmentRequestId": "3aa5973d-34c4-44e9-8380-fd36a2f9523c",
  "status": "sample string 2",
  "doctorComments": "sample string 3"
}

application/xml, text/xml

Sample:
<AmendmentRequestPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AmendmentRequests">
  <AmendmentRequestId>3aa5973d-34c4-44e9-8380-fd36a2f9523c</AmendmentRequestId>
  <DoctorComments>sample string 3</DoctorComments>
  <Status>sample string 2</Status>
</AmendmentRequestPostModel>

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

Response Information

Resource Description

AmendmentRequestPostModel
NameDescriptionTypeAdditional information
AmendmentRequestId

Gets or sets the amendment request ID.

globally unique identifier

None.

Status

Gets or sets the status of the request. Status should be (Pending, Approved or Denied).

string

None.

DoctorComments

Gets or sets the doctor comments.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "amendmentRequestId": "32a1fc87-aea8-4fa0-a178-5e0c0980c74d",
  "status": "sample string 2",
  "doctorComments": "sample string 3"
}

application/xml, text/xml

Sample:
<AmendmentRequestPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AmendmentRequests">
  <AmendmentRequestId>32a1fc87-aea8-4fa0-a178-5e0c0980c74d</AmendmentRequestId>
  <DoctorComments>sample string 3</DoctorComments>
  <Status>sample string 2</Status>
</AmendmentRequestPostModel>