POST api/MerchantApp/FSTSStockDistribution

Request Information

URI Parameters

None.

Body Parameters

FSTSSvcStockDistributionMDL
NameDescriptionTypeAdditional information
SenderId

integer

None.

RecieverId

integer

None.

SendFrom

string

None.

SendTo

string

None.

PPSCount

integer

None.

PPQRCount

integer

None.

PQRCount

integer

None.

SoundPodCount

integer

None.

CityID

integer

None.

DeviceStrings

Collection of Devicestring

None.

Request Formats

application/json, text/json

Sample:
{
  "SenderId": 1,
  "RecieverId": 2,
  "SendFrom": "sample string 3",
  "SendTo": "sample string 4",
  "PPSCount": 5,
  "PPQRCount": 6,
  "PQRCount": 7,
  "SoundPodCount": 8,
  "CityID": 9,
  "DeviceStrings": [
    {
      "DeviceID": "sample string 1",
      "IMEI": "sample string 2"
    },
    {
      "DeviceID": "sample string 1",
      "IMEI": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<FSTSSvcStockDistributionMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL">
  <CityID>9</CityID>
  <DeviceStrings>
    <Devicestring>
      <DeviceID>sample string 1</DeviceID>
      <IMEI>sample string 2</IMEI>
    </Devicestring>
    <Devicestring>
      <DeviceID>sample string 1</DeviceID>
      <IMEI>sample string 2</IMEI>
    </Devicestring>
  </DeviceStrings>
  <PPQRCount>6</PPQRCount>
  <PPSCount>5</PPSCount>
  <PQRCount>7</PQRCount>
  <RecieverId>2</RecieverId>
  <SendFrom>sample string 3</SendFrom>
  <SendTo>sample string 4</SendTo>
  <SenderId>1</SenderId>
  <SoundPodCount>8</SoundPodCount>
</FSTSSvcStockDistributionMDL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfString
NameDescriptionTypeAdditional information
Message

string

None.

Description

string

None.

Result

boolean

None.

Data

string

None.

status

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Description": "sample string 2",
  "Result": true,
  "Data": "sample string 4",
  "status": 5,
  "TotalCount": 6
}

application/xml, text/xml

Sample:
<ServiceResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data>sample string 4</Data>
  <Description>sample string 2</Description>
  <Message>sample string 1</Message>
  <Result>true</Result>
  <TotalCount>6</TotalCount>
  <status>5</status>
</ServiceResultOfstring>