POST api/BackgroundCheck/SubmitPersonSelectedServices
Request Information
URI Parameters
None.
Body Parameters
UserSelectedServices| Name | Description | Type | Additional information |
|---|---|---|---|
| packageId | integer |
None. |
|
| string |
None. |
||
| OrderId | string |
None. |
|
| Services | Collection of Personalservices |
None. |
Request Formats
application/json, text/json
Sample:
{
"packageId": 1,
"Email": "sample string 2",
"OrderId": "sample string 3",
"Services": [
{
"ServiceMasterId": 1,
"IsCompletedDetails": true,
"WorkPastId": "sample string 3",
"ServiceReferenceId": 4,
"WorkPastPackageId": 5
},
{
"ServiceMasterId": 1,
"IsCompletedDetails": true,
"WorkPastId": "sample string 3",
"ServiceReferenceId": 4,
"WorkPastPackageId": 5
}
]
}
text/html
Sample:
{"packageId":1,"Email":"sample string 2","OrderId":"sample string 3","Services":[{"ServiceMasterId":1,"IsCompletedDetails":true,"WorkPastId":"sample string 3","ServiceReferenceId":4,"WorkPastPackageId":5},{"ServiceMasterId":1,"IsCompletedDetails":true,"WorkPastId":"sample string 3","ServiceReferenceId":4,"WorkPastPackageId":5}]}
application/xml, text/xml
Sample:
<UserSelectedServices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPastWebApi.Models">
<Email>sample string 2</Email>
<OrderId>sample string 3</OrderId>
<Services>
<Personalservices>
<IsCompletedDetails>true</IsCompletedDetails>
<ServiceMasterId>1</ServiceMasterId>
<ServiceReferenceId>4</ServiceReferenceId>
<WorkPastId>sample string 3</WorkPastId>
<WorkPastPackageId>5</WorkPastPackageId>
</Personalservices>
<Personalservices>
<IsCompletedDetails>true</IsCompletedDetails>
<ServiceMasterId>1</ServiceMasterId>
<ServiceReferenceId>4</ServiceReferenceId>
<WorkPastId>sample string 3</WorkPastId>
<WorkPastPackageId>5</WorkPastPackageId>
</Personalservices>
</Services>
<packageId>1</packageId>
</UserSelectedServices>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>