GET api/Revolution/ContactCard/Customer/{customerDID}/ForRep/{repDID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerDID

The Customer’s identification number.

string

Required

repDID

The requesting Rep’s identification number.

string

Required

Body Parameters

None.

Response Information

Resource Description

ContactForCustomerViewModel
NameDescriptionTypeAdditional information
ContactID

integer

None.

ContactType

The Contact Type (E.g. Rep, Customer) of the requested Contact.

string

None.

DisplayName

The display name of the requested Contact.

string

None.

Email

The Email address of the requested contact.

string

None.

Type

Customer Type of the Contact.

string

None.

Phone1

Home phone number.

string

None.

Phone4

Cell phone number.

string

None.

BillingAddress

Primary Billing Address of the Contact.

string

None.

ShippingAddress

Primary Shipping Address of the Contact.

string

None.

Response Formats

application/xml, text/xml

Sample:
<ContactForCustomerViewModel>
  <ContactID>1</ContactID>
  <ContactType>sample string 2</ContactType>
  <DisplayName>sample string 3</DisplayName>
  <Email>sample string 4</Email>
  <Type>sample string 5</Type>
  <Phone1>sample string 6</Phone1>
  <Phone4>sample string 7</Phone4>
  <BillingAddress>sample string 8</BillingAddress>
  <ShippingAddress>sample string 9</ShippingAddress>
</ContactForCustomerViewModel>

application/json, text/json

Sample:
{
  "ContactID": 1,
  "ContactType": "sample string 2",
  "DisplayName": "sample string 3",
  "Email": "sample string 4",
  "Type": "sample string 5",
  "Phone1": "sample string 6",
  "Phone4": "sample string 7",
  "BillingAddress": "sample string 8",
  "ShippingAddress": "sample string 9"
}