NetCard Server Web API

<back to all web services

PutMqMessage

The following routes are available for this service:
POST/MessageQueue/PutMessage

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

MqServerSetting,Message
"{ServerLocation:String,Port:0,QueueManager:String,QueueName:String,Channel:String}",String

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

ResponseStatus,IsSuccessful
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}",False