POST api/Client
Request Information
URI Parameters
None.
Body Parameters
ClientSearchCriteriaName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Required |
|
LastName | string |
Required |
|
DateOfBirth | date |
None. |
|
SSN | string |
None. |
|
ExternalId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "DateOfBirth": "2024-11-14T11:30:18.9753337-05:00", "SSN": "sample string 3", "ExternalId": "sample string 4" }
application/xml, text/xml
Sample:
<ClientSearchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CWI.Clinical.Domain"> <DateOfBirth>2024-11-14T11:30:18.9753337-05:00</DateOfBirth> <ExternalId>sample string 4</ExternalId> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <SSN>sample string 3</SSN> </ClientSearchCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClientResultName | Description | Type | Additional information |
---|---|---|---|
clientId | integer |
None. |
|
errorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "clientId": 1, "errorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ClientResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CWI.Clinical.Domain"> <clientId>1</clientId> <errorMessage>sample string 2</errorMessage> </ClientResult>