Cdn API - CPG Source

<back to all web services

CdnCountryMasterRequest

Cdn.Api

The following routes are available for this service:
POST,PUT/CdnCountryMasterRequest
CdnCountryMasterRequest Parameters:
NameParameterData TypeRequiredDescription
CountryIdbodyintNo
CountryNamebodystringNo
Routine_Mappingbodybyte?No
Routine_Datebodybyte?No
ProcessedbodystringNo
CommentsbodystringNo
BNB_TotalRecsbodyint?No
BNB_TotalRecs_Mappedbodyint?No
TPtoCDN_MappedbodystringNo
TP_CountrybodystringNo
TP_Country_NumbodyintNo
TP_TotalRecsbodyint?No
RecIDbodyintNo
CdnCountryMasterResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CdnCountryMasterDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CdnCountryMasterDto Parameters:
NameParameterData TypeRequiredDescription
CountryIdformintNo
CountryNameformstringNo
Routine_Mappingformbyte?No
Routine_Dateformbyte?No
ProcessedformstringNo
CommentsformstringNo
BNB_TotalRecsformint?No
BNB_TotalRecs_Mappedformint?No
TPtoCDN_MappedformstringNo
TP_CountryformstringNo
TP_Country_NumformintNo
TP_TotalRecsformint?No
RecIDformintNo
ActiveformboolNo

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 /CdnCountryMasterRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CountryId: 0,
	CountryName: String,
	Routine_Mapping: 0,
	Routine_Date: 0,
	Processed: String,
	Comments: String,
	BNB_TotalRecs: 0,
	BNB_TotalRecs_Mapped: 0,
	TPtoCDN_Mapped: String,
	TP_Country: String,
	TP_Country_Num: 0,
	TP_TotalRecs: 0,
	RecID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			CountryId: 0,
			CountryName: String,
			Routine_Mapping: 0,
			Routine_Date: 0,
			Processed: String,
			Comments: String,
			BNB_TotalRecs: 0,
			BNB_TotalRecs_Mapped: 0,
			TPtoCDN_Mapped: String,
			TP_Country: String,
			TP_Country_Num: 0,
			TP_TotalRecs: 0,
			RecID: 0,
			Active: False
		}
	],
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}