POST api/values/SmsMsgTest

Request Information

URI Parameters

None.

Body Parameters

SMSmsgTest
NameDescriptionTypeAdditional information
numUserid

integer

None.

UserName

string

None.

Msg

string

None.

SenderId

string

None.

Mobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "numUserid": 1,
  "UserName": "sample string 2",
  "Msg": "sample string 3",
  "SenderId": "sample string 4",
  "Mobile": "sample string 5"
}

application/xml, text/xml

Sample:
<EntityObject.SMSmsgTest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bta_WebApi.Models">
  <Mobile>sample string 5</Mobile>
  <Msg>sample string 3</Msg>
  <SenderId>sample string 4</SenderId>
  <UserName>sample string 2</UserName>
  <numUserid>1</numUserid>
</EntityObject.SMSmsgTest>

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 'SMSmsgTest'.

Response Information

Resource Description

ResultOfSMSmsgTest
NameDescriptionTypeAdditional information
status

string

None.

Data

Collection of SMSmsgTest

None.

Message

string

None.

numWastage

decimal number

None.

Dataa

Object

None.

str

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Data": [
    {
      "numUserid": 1,
      "UserName": "sample string 2",
      "Msg": "sample string 3",
      "SenderId": "sample string 4",
      "Mobile": "sample string 5"
    },
    {
      "numUserid": 1,
      "UserName": "sample string 2",
      "Msg": "sample string 3",
      "SenderId": "sample string 4",
      "Mobile": "sample string 5"
    }
  ],
  "Message": "sample string 2",
  "numWastage": 3.1,
  "Dataa": {},
  "str": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<EntityObject.ResultOfEntityObject.SMSmsgTestj8zdX7jq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bta_WebApi.Models">
  <Data>
    <EntityObject.SMSmsgTest>
      <Mobile>sample string 5</Mobile>
      <Msg>sample string 3</Msg>
      <SenderId>sample string 4</SenderId>
      <UserName>sample string 2</UserName>
      <numUserid>1</numUserid>
    </EntityObject.SMSmsgTest>
    <EntityObject.SMSmsgTest>
      <Mobile>sample string 5</Mobile>
      <Msg>sample string 3</Msg>
      <SenderId>sample string 4</SenderId>
      <UserName>sample string 2</UserName>
      <numUserid>1</numUserid>
    </EntityObject.SMSmsgTest>
  </Data>
  <Dataa />
  <Message>sample string 2</Message>
  <numWastage>3.1</numWastage>
  <status>sample string 1</status>
  <str xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </str>
</EntityObject.ResultOfEntityObject.SMSmsgTestj8zdX7jq>