PUT api/v1/code/eventcode/{code}
Update Event code
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
Code object that needs to be updated |
string |
Required |
Body Parameters
Event code object that needs to be updated
EventCode| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
Required String length: inclusive between 0 and 20 |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Type | string |
Required String length: inclusive between 0 and 20 |
|
| StartDate | date |
Required |
|
| Deductible | 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",
"Name": "sample string 2",
"Type": "sample string 3",
"StartDate": "2026-02-04T01:59:52.049",
"Deductible": "sample string 5",
"LastUpdated": "2026-02-04T01:59:52.049",
"LastUpdatedBy": "sample string 6",
"Created": "2026-02-04T01:59:52.049",
"CreatedBy": "sample string 7"
}
application/xml, text/xml
Sample:
<EventCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models"> <Code>sample string 1</Code> <Created>2026-02-04T01:59:52.0490818+00:00</Created> <CreatedBy>sample string 7</CreatedBy> <Deductible>sample string 5</Deductible> <LastUpdated>2026-02-04T01:59:52.0490818+00:00</LastUpdated> <LastUpdatedBy>sample string 6</LastUpdatedBy> <Name>sample string 2</Name> <StartDate>2026-02-04T01:59:52.0490818+00:00</StartDate> <Type>sample string 3</Type> </EventCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.