POST v1/Customer/CustomerContactList

Returns Customer's Contact List

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

CustomerContactDetailRequest
NameDescriptionTypeAdditional information
CustomerID

Provide Customer ID

integer

None.

ContactID

Provide Contact ID

integer

None.

FirstName

Provide First Name

string

None.

MiddleName

Provide Middle Name

string

None.

LastName

Provide Last Name

string

None.

EmailAddress

Provide Email Address

string

None.

Active

Provide Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "ContactID": 1,
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "EmailAddress": "sample string 4",
  "Active": true
}

application/xml, text/xml

Sample:
<CustomerContactDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerID>1</CustomerID>
  <ContactID>1</ContactID>
  <FirstName>sample string 1</FirstName>
  <MiddleName>sample string 2</MiddleName>
  <LastName>sample string 3</LastName>
  <EmailAddress>sample string 4</EmailAddress>
  <Active>true</Active>
</CustomerContactDetailRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerContactDetailRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerID": 1,
    "ContactID": 1,
    "FirstName": "sample string 1",
    "MiddleName": "sample string 2",
    "LastName": "sample string 3",
    "EmailAddress": "sample string 4",
    "Active": true
  },
  {
    "CustomerID": 1,
    "ContactID": 1,
    "FirstName": "sample string 1",
    "MiddleName": "sample string 2",
    "LastName": "sample string 3",
    "EmailAddress": "sample string 4",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerContactDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerContactDetailResponse>
    <CustomerID>1</CustomerID>
    <ContactID>1</ContactID>
    <FirstName>sample string 1</FirstName>
    <MiddleName>sample string 2</MiddleName>
    <LastName>sample string 3</LastName>
    <EmailAddress>sample string 4</EmailAddress>
    <Active>true</Active>
  </CustomerContactDetailResponse>
  <CustomerContactDetailResponse>
    <CustomerID>1</CustomerID>
    <ContactID>1</ContactID>
    <FirstName>sample string 1</FirstName>
    <MiddleName>sample string 2</MiddleName>
    <LastName>sample string 3</LastName>
    <EmailAddress>sample string 4</EmailAddress>
    <Active>true</Active>
  </CustomerContactDetailResponse>
</ArrayOfCustomerContactDetailResponse>