Reference for http://api.esms.vn/MainService.svc/xml/RegisterRef/

Url: http://api.esms.vn/MainService.svc/xml/RegisterRef/

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Response Xml Example,Schema

The following is an example request Xml body:

<DataRegisterRef>
  <email>String content</email>
  <phone>String content</phone>
  <fullname>String content</fullname>
  <apikey>String content</apikey>
  <secretkey>String content</secretkey>
  <password>String content</password>
  <emailsale>String content</emailsale>
  <signature>String content</signature>
  <source>String content</source>
  <publickey>String content</publickey>
</DataRegisterRef>

The following is an example response Xml body:

<MemberRegisterResult>
  <ErrorMessage>String content</ErrorMessage>
  <CodeResult>String content</CodeResult>
  <CodeConfirm>String content</CodeConfirm>
  <ApiKey>String content</ApiKey>
  <SecretKey>String content</SecretKey>
</MemberRegisterResult>

The following is the request Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="DataRegisterRef" nillable="true" type="DataRegisterRef" />
  <xs:complexType name="DataRegisterRef">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="email" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="phone" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="fullname" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="apikey" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="secretkey" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="password" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="emailsale" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="signature" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="source" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="publickey" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="MemberRegisterResult" nillable="true" type="MemberRegisterResult" />
  <xs:complexType name="MemberRegisterResult">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="CodeResult" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="CodeConfirm" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ApiKey" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="SecretKey" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>