POST api/ContactMethod
Creates new Contact Method.
Request Information
URI Parameters
None.
Body Parameters
Contact Method.
ContactMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdateType | string |
None. |
|
| ContactMethodId | integer |
None. |
|
| Label | string |
None. |
|
| ContactMethodName | string |
None. |
|
| Note | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerGlobalId | string |
None. |
|
| GlobalId | string |
None. |
|
| CalculatedType | string |
None. |
|
| OrganizationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UpdateType": "sample string 1",
"ContactMethodId": 2,
"Label": "sample string 3",
"ContactMethodName": "sample string 4",
"Note": "sample string 5",
"UpdatedDate": "2025-10-20T20:45:16.9162311+00:00",
"UpdatedBy": "sample string 6",
"CustomerId": 1,
"CustomerGlobalId": "sample string 7",
"GlobalId": "sample string 8",
"CalculatedType": "sample string 9",
"OrganizationId": 1
}
application/xml, text/xml
Sample:
<ContactMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CalculatedType>sample string 9</CalculatedType> <ContactMethodId>2</ContactMethodId> <ContactMethodName>sample string 4</ContactMethodName> <CustomerGlobalId>sample string 7</CustomerGlobalId> <CustomerId>1</CustomerId> <GlobalId>sample string 8</GlobalId> <Label>sample string 3</Label> <Note>sample string 5</Note> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedDate>2025-10-20T20:45:16.9162311+00:00</UpdatedDate> </ContactMethod>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ContactMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdateType | string |
None. |
|
| ContactMethodId | integer |
None. |
|
| Label | string |
None. |
|
| ContactMethodName | string |
None. |
|
| Note | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerGlobalId | string |
None. |
|
| GlobalId | string |
None. |
|
| CalculatedType | string |
None. |
|
| OrganizationId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"UpdateType": "sample string 1",
"ContactMethodId": 2,
"Label": "sample string 3",
"ContactMethodName": "sample string 4",
"Note": "sample string 5",
"UpdatedDate": "2025-10-20T20:45:16.9162311+00:00",
"UpdatedBy": "sample string 6",
"CustomerId": 1,
"CustomerGlobalId": "sample string 7",
"GlobalId": "sample string 8",
"CalculatedType": "sample string 9",
"OrganizationId": 1
}
application/xml, text/xml
Sample:
<ContactMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CalculatedType>sample string 9</CalculatedType> <ContactMethodId>2</ContactMethodId> <ContactMethodName>sample string 4</ContactMethodName> <CustomerGlobalId>sample string 7</CustomerGlobalId> <CustomerId>1</CustomerId> <GlobalId>sample string 8</GlobalId> <Label>sample string 3</Label> <Note>sample string 5</Note> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedDate>2025-10-20T20:45:16.9162311+00:00</UpdatedDate> </ContactMethod>