efun.id.api

<back to all web services

ReceiveMtSms

The following routes are available for this service:
GET/api/v1/sms
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using efun.id.api.ServiceModel;

namespace efun.id.api.ServiceModel
{
    public partial class ReceiveMtSms
    {
        public virtual string User_ID { get; set; }
        public virtual string Service_ID { get; set; }
        public virtual string Command_Code { get; set; }
        public virtual string Message { get; set; }
        public virtual string Request_ID { get; set; }
    }

    public partial class ReponseMtSms
    {
        public virtual int Status { get; set; }
        public virtual string Message { get; set; }
    }

}

C# ReceiveMtSms DTOs

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

HTTP + XML

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

GET /api/v1/sms HTTP/1.1 
Host: efun-id-api-sandbox.efun.vn 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ReponseMtSms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/efun.id.api.ServiceModel">
  <Message>String</Message>
  <Status>0</Status>
</ReponseMtSms>