POST ASPSMSEstimateCreditConsumption?Userkey={Userkey}&Password={Password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Userkey

string

Required

Password

string

Required

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

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 'List`1'.

Response Information

Resource Description

TupleOfASPSMSServerResultAndDouble
NameDescriptionTypeAdditional information
Item1

ASPSMSServerResult

None.

Item2

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "m_Item1": {
    "ErrorCode": 1,
    "ErrorDescription": "sample string 2"
  },
  "m_Item2": 1.1
}

application/xml, text/xml

Sample:
<TupleOfASPSMSServerResultdoublejlnfVj_SX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASPSMSWebAPI.Models">
    <d2p1:ErrorCode>1</d2p1:ErrorCode>
    <d2p1:ErrorDescription>sample string 2</d2p1:ErrorDescription>
  </m_Item1>
  <m_Item2>1.1</m_Item2>
</TupleOfASPSMSServerResultdoublejlnfVj_SX>