PUT api/v1/code/lettercode/{code}

Update Letter Code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Code object that needs to be updated

string

Required

Body Parameters

Letter code object that needs to be updated

LetterCode
NameDescriptionTypeAdditional information
Code

string

Required

String length: inclusive between 0 and 20

Description

string

Required

String length: inclusive between 0 and 80

Status

string

None.

LastUpdated

date

None.

LastUpdatedBy

string

String length: inclusive between 0 and 200

Created

date

None.

CreatedBy

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "Status": "sample string 3",
  "LastUpdated": "2025-09-04T15:03:12.327",
  "LastUpdatedBy": "sample string 4",
  "Created": "2025-09-04T15:03:12.327",
  "CreatedBy": "sample string 5"
}

application/xml, text/xml

Sample:
<LetterCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models">
  <Code>sample string 1</Code>
  <Created>2025-09-04T15:03:12.3271428+00:00</Created>
  <CreatedBy>sample string 5</CreatedBy>
  <Description>sample string 2</Description>
  <LastUpdated>2025-09-04T15:03:12.3271428+00:00</LastUpdated>
  <LastUpdatedBy>sample string 4</LastUpdatedBy>
  <Status>sample string 3</Status>
</LetterCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.