Phonixx Api

<back to all web services

Promotion

The following routes are available for this service:
GET,POST,OPTIONS/account/promos
GET,OPTIONS/account/promo/{PromoCode}
GET,POST,OPTIONS/account/promo/zone/{InternalZoneCode}

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

HTTP + CSV

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

POST /csv/reply/Promotion HTTP/1.1 
Host: parkmobile.us 
Content-Type: text/csv
Content-Length: length

DiscountUnit,DiscountValue,FeeType
String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

PromoCode,PromoTitle,Description,ClaimTimeUtc,StartDate,EndDate,DiscountType,InfoUrl,ValidationConfirmMessage,ShowValidationConfirm,UsageCount,DiscountDetails,InternalZoneCode,AddPromoErrors,IsValidation,ParkingActionId
String,String,String,String,String,String,String,String,String,False,0,"[{discountUnit:String,discountValue:String,feeType:String}]",String,"{message:String,errorType:Undefined}",False,0