POST api/Administration/ExportingAMEs
Request Information
URI Parameters
None.
Body Parameters
AMESearchViewModelName | Description | Type | Additional information |
---|---|---|---|
FullName | string |
None. |
|
LastName | string |
None. |
|
NRICNationalityID | string |
None. |
|
PassportNo | string |
None. |
|
AMENo | string |
None. |
|
StatusId | globally unique identifier |
None. |
|
IsActive | boolean |
None. |
|
IsExportPDF | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "FullName": "sample string 1", "LastName": "sample string 2", "NRICNationalityID": "sample string 3", "PassportNo": "sample string 4", "AMENo": "sample string 5", "StatusId": "336c9e32-28d3-4789-9602-60fef983d7de", "IsActive": true, "IsExportPDF": true }
application/xml, text/xml
Sample:
<AMESearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels"> <AMENo>sample string 5</AMENo> <FullName>sample string 1</FullName> <IsActive>true</IsActive> <IsExportPDF>true</IsExportPDF> <LastName>sample string 2</LastName> <NRICNationalityID>sample string 3</NRICNationalityID> <PassportNo>sample string 4</PassportNo> <StatusId>336c9e32-28d3-4789-9602-60fef983d7de</StatusId> </AMESearchViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FullName" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="LastName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NRICNationalityID" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PassportNo" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AMENo" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StatusId" 336c9e32-28d3-4789-9602-60fef983d7de --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsActive" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsExportPDF" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |