Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
userId. |
integer |
Required |
| communicationMethodId |
The user communication method identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The user communication method, if it exists.
Pico.CommunicationMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| order |
Gets or sets the order. |
integer |
None. |
| value |
Gets or sets the value. |
string |
None. |
| id |
Gets or sets the communication method identifier. |
integer |
None. |
| communicationMethodType |
Gets or sets the communication method type identifier. |
integer |
None. |
| employer |
Gets or sets the employer identifier. |
integer |
None. |
| person |
Gets or sets the person identifier. |
integer |
None. |
| user |
Gets or sets the user identifier. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"order": 1,
"value": "sample String 1",
"id": "2",
"communicationMethodType": "3",
"employer": "1",
"person": "1",
"user": "1"
}
text/html
Sample:
{"order":1,"value":"sample String 1","id":"2","communicationMethodType":"3","employer":"1","person":"1","user":"1"}
application/xml, text/xml
Sample:
<CommunicationMethod xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Order>1</Order> <Value>sample String 1</Value> <CommunicationMethodId>2</CommunicationMethodId> <CommunicationMethodTypeId>3</CommunicationMethodTypeId> <EmployerId>1</EmployerId> <PersonId>1</PersonId> <UserId>1</UserId> </CommunicationMethod>