NetCard Server Web API

<back to all web services

GetComboById

The following routes are available for this service:
GET/Combos/{CustomerId}

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/GetComboById HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/csv
Content-Length: length

ComboId
0

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

ResponseStatus,ComboId,CustomerId,Name,Discount,Period,ComboItems,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}",0,0,String,0,String,,String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"