POST PhoneNumbers/Update?Userkey={Userkey}&Password={Password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Userkey

string

Required

Password

string

Required

Body Parameters

Collection of PhoneNumbers
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

integer

None.

LastName

string

String length: inclusive between 0 and 80

FirstName

string

String length: inclusive between 0 and 80

VariableData01

string

String length: inclusive between 0 and 80

VariableData02

string

String length: inclusive between 0 and 80

VariableData03

string

String length: inclusive between 0 and 80

VariableData04

string

String length: inclusive between 0 and 80

VariableData05

string

String length: inclusive between 0 and 80

MSISDN

string

String length: inclusive between 0 and 20

DateUpdated

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "UserID": 1,
    "LastName": "sample string 2",
    "FirstName": "sample string 3",
    "VariableData01": "sample string 4",
    "VariableData02": "sample string 5",
    "VariableData03": "sample string 6",
    "VariableData04": "sample string 7",
    "VariableData05": "sample string 8",
    "MSISDN": "sample string 9",
    "DateUpdated": "2019-10-14T04:42:04.7731456+02:00"
  },
  {
    "ID": 1,
    "UserID": 1,
    "LastName": "sample string 2",
    "FirstName": "sample string 3",
    "VariableData01": "sample string 4",
    "VariableData02": "sample string 5",
    "VariableData03": "sample string 6",
    "VariableData04": "sample string 7",
    "VariableData05": "sample string 8",
    "MSISDN": "sample string 9",
    "DateUpdated": "2019-10-14T04:42:04.7731456+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPhoneNumbers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASPSMSWebAPI.Models">
  <PhoneNumbers>
    <DateUpdated>2019-10-14T04:42:04.7731456+02:00</DateUpdated>
    <FirstName>sample string 3</FirstName>
    <ID>1</ID>
    <LastName>sample string 2</LastName>
    <MSISDN>sample string 9</MSISDN>
    <UserID>1</UserID>
    <VariableData01>sample string 4</VariableData01>
    <VariableData02>sample string 5</VariableData02>
    <VariableData03>sample string 6</VariableData03>
    <VariableData04>sample string 7</VariableData04>
    <VariableData05>sample string 8</VariableData05>
  </PhoneNumbers>
  <PhoneNumbers>
    <DateUpdated>2019-10-14T04:42:04.7731456+02:00</DateUpdated>
    <FirstName>sample string 3</FirstName>
    <ID>1</ID>
    <LastName>sample string 2</LastName>
    <MSISDN>sample string 9</MSISDN>
    <UserID>1</UserID>
    <VariableData01>sample string 4</VariableData01>
    <VariableData02>sample string 5</VariableData02>
    <VariableData03>sample string 6</VariableData03>
    <VariableData04>sample string 7</VariableData04>
    <VariableData05>sample string 8</VariableData05>
  </PhoneNumbers>
</ArrayOfPhoneNumbers>

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.