GET api/ContactMethod/{id}?type={type}

Gets a list of contact method.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Customer Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ContactMethod
NameDescriptionTypeAdditional 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-01-16T01:19:06.6775403+00:00",
    "UpdatedBy": "sample string 6",
    "CustomerId": 1,
    "CustomerGlobalId": "sample string 7",
    "GlobalId": "sample string 8",
    "CalculatedType": "sample string 9",
    "OrganizationId": 1
  },
  {
    "UpdateType": "sample string 1",
    "ContactMethodId": 2,
    "Label": "sample string 3",
    "ContactMethodName": "sample string 4",
    "Note": "sample string 5",
    "UpdatedDate": "2025-01-16T01:19:06.6775403+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:
<ArrayOfContactMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ContactMethod>
    <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-01-16T01:19:06.6775403+00:00</UpdatedDate>
  </ContactMethod>
  <ContactMethod>
    <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-01-16T01:19:06.6775403+00:00</UpdatedDate>
  </ContactMethod>
</ArrayOfContactMethod>