Cdn API - CPG Source

<back to all web services

GenerateCdnxAuthTokenRequest

Cdn.Api

The following routes are available for this service:
GET/GenerateCdnxAuthTokenRequest
GenerateCdnxAuthTokenRequest Parameters:
NameParameterData TypeRequiredDescription
UsernamequerystringNo
CdnxIdquerystringNo
PasswordquerystringNo
ReturnUrlquerystringNo
IpAddressquerystringNo
UserAgentquerystringNo
GenerateCdnxAuthTokenResponse Parameters:
NameParameterData TypeRequiredDescription
CustIdformlongNo
BuIdformlongNo
CdnxIdformstringNo
TokenformstringNo
ReturnUrlformstringNo
IsCdnxSubscriberformboolNo
IsCdnxAdminformboolNo
UsernameformstringNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipCodeformstringNo
ProvinceRegionformstringNo
CountryformstringNo
EmailAddressformstringNo
PhoneNumberformstringNo
ExtensionformstringNo
WebsiteUrlformstringNo
CompanyDescriptionformstringNo
IndustryAffiliationsformstringNo
FacebookformstringNo
TwitterformstringNo
InstagramformstringNo
AvatarUrlformstringNo
EbayIdformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /GenerateCdnxAuthTokenRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CustId: 0,
	BuId: 0,
	CdnxId: String,
	Token: String,
	ReturnUrl: String,
	IsCdnxSubscriber: False,
	IsCdnxAdmin: False,
	Username: String,
	FirstName: String,
	LastName: String,
	Company: String,
	Address1: String,
	Address2: String,
	City: String,
	State: String,
	ZipCode: String,
	ProvinceRegion: String,
	Country: String,
	EmailAddress: String,
	PhoneNumber: String,
	Extension: String,
	WebsiteUrl: String,
	CompanyDescription: String,
	IndustryAffiliations: String,
	Facebook: String,
	Twitter: String,
	Instagram: String,
	AvatarUrl: String,
	EbayId: String,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}