PUT api/lists/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SmsList
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "DateCreated": "2026-11-03T23:00:07.4624267+02:00"
}

application/xml, text/xml

Sample:
<SmsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:00:07.4624267+02:00</DateCreated>
  <Id>1</Id>
  <Name>sample string 2</Name>
</SmsList>

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

Response Information

Resource Description

SmsList
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

DateCreated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "DateCreated": "2026-11-03T23:00:07.4634283+02:00"
}

application/xml, text/xml

Sample:
<SmsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:00:07.4634283+02:00</DateCreated>
  <Id>1</Id>
  <Name>sample string 2</Name>
</SmsList>