The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /api/clients/names HTTP/1.1
Host: cpo.hostedsuite.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CenterId: String,
CustomerName: String,
UserName: String,
Password: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
Id: String,
DateLastModified: String,
Name: String,
CenterId: String,
CenterName: String,
ScreenPops:
[
String
],
Greeting: String,
CallInstructions: String,
PopupInformation: String,
Information: String,
FaxNumber: String,
CustomFields:
[
{
Name: String,
Value: String
}
],
Address:
{
Street1: String,
Street2: String,
City: String,
State: String,
PostalCode: String,
Country: String
},
ThirdPartyAccountId: String,
CallAllowanceType: NotBillable,
CallAllowanceAmount: 0,
Links:
[
{
Id: String,
Name: String,
Url: String
}
],
IndustryId: String,
IndustryName: String,
Location: String
}
]