PUT api/v1/bookings/{id}/form
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
FormRequestBindingModelName | Description | Type | Additional information |
---|---|---|---|
ExamId | string |
None. |
|
ConfirmationNumber | string |
None. |
|
ExamFormCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExamId": "sample string 1", "ConfirmationNumber": "sample string 2", "ExamFormCode": "sample string 3" }
application/xml, text/xml
Sample:
<FormRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Booking"> <ConfirmationNumber>sample string 2</ConfirmationNumber> <ExamFormCode>sample string 3</ExamFormCode> <ExamId>sample string 1</ExamId> </FormRequestBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseWrapperBindingModelOfIEnumerableOfFormRequestBindingModelName | Description | Type | Additional information |
---|---|---|---|
Results | Collection of FormRequestBindingModel |
None. |
|
TotalResults | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalResults": 1, "Results": [ { "ExamId": "sample string 1", "ConfirmationNumber": "sample string 2", "ExamFormCode": "sample string 3" }, { "ExamId": "sample string 1", "ConfirmationNumber": "sample string 2", "ExamFormCode": "sample string 3" } ] }
application/xml, text/xml
Sample:
<ResponseWrapperBindingModelOfArrayOfFormRequestBindingModelV9UCGkeC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Api.Models"> <TotalResults>1</TotalResults> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Booking"> <d2p1:FormRequestBindingModel> <d2p1:ConfirmationNumber>sample string 2</d2p1:ConfirmationNumber> <d2p1:ExamFormCode>sample string 3</d2p1:ExamFormCode> <d2p1:ExamId>sample string 1</d2p1:ExamId> </d2p1:FormRequestBindingModel> <d2p1:FormRequestBindingModel> <d2p1:ConfirmationNumber>sample string 2</d2p1:ConfirmationNumber> <d2p1:ExamFormCode>sample string 3</d2p1:ExamFormCode> <d2p1:ExamId>sample string 1</d2p1:ExamId> </d2p1:FormRequestBindingModel> </Results> </ResponseWrapperBindingModelOfArrayOfFormRequestBindingModelV9UCGkeC>