Skip to content
network

/api/v1/network/action/perform

POST
/api/v1/network/action/perform
curl --request POST \
--url https://dpg.example.com/api/v1/network/action/perform \
--header 'Content-Type: application/json' \
--data '{ "action_type": "example", "source_item": { "item_network": "example", "item_domain": "example", "item_type": "example", "item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "item_instance_url": "https://example.com" }, "target_item": { "item_network": "example", "item_domain": "example", "item_type": "example", "item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "item_instance_url": "https://example.com" }, "source_item_owner": "example", "requirements_snapshot": { "additionalProperty": "example" }, "performed_by_org_id": "example", "performed_by_service_user_id": "example", "consent": { "acknowledged": true, "version": 1, "brand": "example" }, "guardian_otp": "example" }'
Media typeapplication/json
object
action_type
required
string
>= 1 characters
source_item
required
object
item_network
required
string
>= 1 characters
item_domain
required
string
>= 1 characters
item_type
required
string
>= 1 characters
item_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
item_instance_url
required
string format: uri
target_item
required
object
item_network
required
string
>= 1 characters
item_domain
required
string
>= 1 characters
item_type
required
string
>= 1 characters
item_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
item_instance_url
required
string format: uri
source_item_owner
required
string
>= 1 characters
requirements_snapshot
required
object
key
additional properties
performed_by_org_id
string
nullable >= 1 characters
performed_by_service_user_id
string
nullable >= 1 characters
consent
object
acknowledged
required
boolean
version
required
integer
>= 1 <= 9007199254740991
brand
string
nullable >= 1 characters
guardian_otp
string
>= 6 characters <= 6 characters

Default Response

Media typeapplication/json
object
action_id
required
string
action_type
required
string
action_status
required
string
update_count
required
integer
<= 9007199254740991
source_item_id
required
string
target_item_id
required
string
Examplegenerated
{
"action_id": "example",
"action_type": "example",
"action_status": "example",
"update_count": 1,
"source_item_id": "example",
"target_item_id": "example"
}