API

ProductMapIdentityDecision

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/identity_decisions create Success

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.ProductMapIdentityDecision(nil).Create(map[string]any{"organization_id": "example", "project_id": "example", "observations": []any{}, "operation": "example", "reason": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:ProductMapIdentityDecision():create({ organization_id = "example", project_id = "example", observations = {}, operation = "example", reason = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->ProductMapIdentityDecision()->create(["organization_id" => "example", "project_id" => "example", "observations" => [], "operation" => "example", "reason" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.ProductMapIdentityDecision().create({ "organization_id": "example", "project_id": "example", "observations": [], "operation": "example", "reason": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.ProductMapIdentityDecision.create({ "organization_id" => "example", "project_id" => "example", "observations" => [], "operation" => "example", "reason" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.ProductMapIdentityDecision().create({ organization_id: "example", project_id: "example", observations: [], operation: "example", reason: "example" })

Fields

Field Type Required Description
observations array Yes Observations
operation string Yes Operation
reason string Yes Reason
target object No Target

create

POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/identity_decisions

Operation ID: api_v1_verification_project_product_map_identity_decisions.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes

Request body

application/json

Property Type Required Description
observations array of object Yes
observations[].identity_decision_id string,null Yes
observations[].interpretation_id string,null Yes
observations[].observation_id string Yes
observations[].state_id string Yes
operation enum: merge, split Yes
reason string Yes
target object No
target.identity_decision_id string,null Yes
target.interpretation_id string,null Yes
target.observation_id string Yes
target.state_id string Yes

Responses

200: Success

application/json

The response is object.

201: Atomic operator correction; immutable evidence retained

application/json

Property Type Required Description
assignments array of object Yes
assignments[].identity_decision_id string,null Yes
assignments[].interpretation_id string,null Yes
assignments[].observation_id string Yes
assignments[].result_state_id string Yes
assignments[].state_id string Yes
created_at string Yes
id string Yes
operation enum: merge, split Yes
reason string Yes
user_id string Yes
401: Unauthorized
403: Forbidden
404: Not found
409: Reviewed identity changed; reload before retrying
422: Unprocessable entity
502: Bad gateway