PUT api/astActionScope/{id}

Update an existing record from the ActionScope table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

astActionScopeDb
NameDescriptionTypeAdditional information
ActionScopeID

integer

None.

ActionID

integer

Required

ActionTriggerStatusID

integer

Required

AdminOnly

boolean

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "ActionScopeID": 1,
  "ActionID": 2,
  "ActionTriggerStatusID": 3,
  "AdminOnly": true
}

application/xml, text/xml

Sample:
<astActionScopeDb 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" />
  <ActionID>2</ActionID>
  <ActionScopeID>1</ActionScopeID>
  <ActionTriggerStatusID>3</ActionTriggerStatusID>
  <AdminOnly>true</AdminOnly>
</astActionScopeDb>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'astActionScopeDb'.

Response Information

Resource Description

astActionScopeDb
NameDescriptionTypeAdditional information
ActionScopeID

integer

None.

ActionID

integer

Required

ActionTriggerStatusID

integer

Required

AdminOnly

boolean

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "ActionScopeID": 1,
  "ActionID": 2,
  "ActionTriggerStatusID": 3,
  "AdminOnly": true
}

application/xml, text/xml

Sample:
<astActionScopeDb 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" />
  <ActionID>2</ActionID>
  <ActionScopeID>1</ActionScopeID>
  <ActionTriggerStatusID>3</ActionTriggerStatusID>
  <AdminOnly>true</AdminOnly>
</astActionScopeDb>