The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/CreateRestriction HTTP/1.1
Host: ncapi.net.au
Content-Type: text/csv
Content-Length: length
Restriction
"{RestrictionId:0,Name:String,Description:String,CustomerId:0}"
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,Restriction,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{RestrictionId:0,Name:String,Description:String,CustomerId:0}",String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"