PUT api/returncodes
Update a return code ModifiedOn, ModifiedBy, Description and Details are the only values that can be modified
Request Information
URI Parameters
None.
Body Parameters
ReturnCodeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
Required |
| Name |
Name |
string |
Required String length: inclusive between 1 and 10 |
| Description |
Description |
string |
Required String length: inclusive between 1 and 250 |
| Details |
Details |
string |
String length: inclusive between 0 and 1100 |
| CreatedOn |
CreatedOn |
date |
Required |
| CreatedBy |
CreatedBy |
integer |
Required Range: inclusive between 1 and 2147483647 |
| ModifiedOn |
ModifiedOn |
date |
None. |
| ModifiedBy |
ModifiedBy |
integer |
None. |
Request Formats
application/json, text/json
{
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"details": "sample string 4",
"createdOn": "2025-10-29T04:34:06.6130465-04:00",
"createdBy": 6,
"modifiedOn": "2025-10-29T04:34:06.6130465-04:00",
"modifiedBy": 1
}
application/xml, text/xml
<ReturnCodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <CreatedBy>6</CreatedBy> <CreatedOn>2025-10-29T04:34:06.6130465-04:00</CreatedOn> <Description>sample string 3</Description> <Details>sample string 4</Details> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-10-29T04:34:06.6130465-04:00</ModifiedOn> <Name>sample string 2</Name> </ReturnCodeViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
RSMPackageViewModel
booleanResponse Formats
application/json, text/json
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>