PUT api/List/{id}

Use this method to update the name of an

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ListId for the you want to edit

integer

Required

Body Parameters

The new name for the

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The response after attempting to edit an existing

GenericResourceResponse
NameDescriptionTypeAdditional information
Id

The unique id of the resource that is worked with

integer

None.

Success

True if successful

boolean

None.

ErrorMessage

Error message if the request is unsuccessful

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "success": true,
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<GenericResourceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API.List">
  <ErrorMessage>sample string 3</ErrorMessage>
  <Id>1</Id>
  <Success>true</Success>
</GenericResourceResponse>