GET | /Actions/Suscribir | ||
---|---|---|---|
GET | /Actions/Suscribir/{id_club}/{telefono} |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/Suscribir HTTP/1.1
Host: contentapi.ihct.mx
Content-Type: text/csv
Content-Length: length
{"Host":"String","msdn":"String","idMedia":"String","idClub":0,"idCarrier":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Respuesta":"String","TimeResponse":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}