Cdn Mobile API

<back to all web services

GenerateCdnxAuthTokenRequest

GenerateCdnxAuthTokenRequest Parameters:
NameParameterData TypeRequiredDescription
UsernamequerystringNo
CdnxIdquerystringNo
PasswordquerystringNo
ReturnUrlquerystringNo
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.

POST /jsv/reply/GenerateCdnxAuthTokenRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Username: String,
	CdnxId: String,
	Password: String,
	ReturnUrl: String
}
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
}