POST api/v1/User/CheckAndCreateMember
Request Information
URI Parameters
None.
Body Parameters
CheckAndCreateUserModelName | Description | Type | Additional information |
---|---|---|---|
Contacts | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Contacts": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<CheckAndCreateUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <Contacts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Contacts> </CheckAndCreateUserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ReturnResultName | Description | Type | Additional information |
---|---|---|---|
ErrorCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ErrorCode": 1, "ErrorMessage": "sample string 2", "Data": {} }, { "ErrorCode": 1, "ErrorMessage": "sample string 2", "Data": {} } ]
application/xml, text/xml
Sample:
<ArrayOfReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeamworkClassLibrary"> <ReturnResult> <Data /> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> </ReturnResult> <ReturnResult> <Data /> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> </ReturnResult> </ArrayOfReturnResult>