POST api/Necp/SendSMSMsg

Request Information

URI Parameters

None.

Body Parameters

SMSMsgInfo
NameDescriptionTypeAdditional information
Content

string

None.

Mobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "Mobile": "sample string 2"
}

application/xml, text/xml

Sample:
<SMSMsgInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <Content>sample string 1</Content>
  <Mobile>sample string 2</Mobile>
</SMSMsgInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SMSMsgInfo'.

Response Information

Resource Description

OperationStatusOfBoolean
NameDescriptionTypeAdditional information
Result

boolean

None.

HasNoData

boolean

None.

ErrorMsg

string

None.

Succeeded

boolean

None.

AlreadyExists

boolean

None.

NotFound

boolean

None.

Error

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "HasNoData": true,
  "ErrorMsg": "sample string 3",
  "Succeeded": true,
  "AlreadyExists": true,
  "NotFound": true,
  "Error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<OperationStatusOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AlreadyExists>true</AlreadyExists>
  <Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Error>
  <ErrorMsg>sample string 3</ErrorMsg>
  <HasNoData>true</HasNoData>
  <NotFound>true</NotFound>
  <Result>true</Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfboolean>