PUT api/astAction/{id}
Update an existing record from the Actions table.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
astActionDb| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionID | integer |
None. |
|
| ActionName | string |
Required Max length: 30 |
|
| ActionDescription | string |
Max length: 360 |
|
| ActionResultStatusID | integer |
Required |
|
| NeedsRight | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| results | Collection of ValidationResult |
None. |
Request Formats
application/json, text/json
Sample:
{
"results": null,
"ActionID": 1,
"ActionName": "sample string 2",
"ActionDescription": "sample string 3",
"ActionResultStatusID": 4,
"NeedsRight": "sample string 5",
"CreatedBy": 6,
"CreatedDate": "2025-12-06T23:43:04.2061121+00:00",
"UpdatedBy": 8,
"UpdatedDate": "2025-12-06T23:43:04.2061121+00:00"
}
application/xml, text/xml
Sample:
<astActionDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<ActionDescription>sample string 3</ActionDescription>
<ActionID>1</ActionID>
<ActionName>sample string 2</ActionName>
<ActionResultStatusID>4</ActionResultStatusID>
<CreatedBy>6</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:04.2061121Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<NeedsRight>sample string 5</NeedsRight>
<UpdatedBy>8</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:04.2061121Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</astActionDb>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
astActionDb| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionID | integer |
None. |
|
| ActionName | string |
Required Max length: 30 |
|
| ActionDescription | string |
Max length: 360 |
|
| ActionResultStatusID | integer |
Required |
|
| NeedsRight | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"ActionID": 1,
"ActionName": "sample string 2",
"ActionDescription": "sample string 3",
"ActionResultStatusID": 4,
"NeedsRight": "sample string 5",
"CreatedBy": 6,
"CreatedDate": "2025-12-06T23:43:04.2061121+00:00",
"UpdatedBy": 8,
"UpdatedDate": "2025-12-06T23:43:04.2061121+00:00"
}
application/xml, text/xml
Sample:
<astActionDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<ActionDescription>sample string 3</ActionDescription>
<ActionID>1</ActionID>
<ActionName>sample string 2</ActionName>
<ActionResultStatusID>4</ActionResultStatusID>
<CreatedBy>6</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:04.2061121Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<NeedsRight>sample string 5</NeedsRight>
<UpdatedBy>8</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:04.2061121Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</astActionDb>