Update a Participant
PUT/agreements/:agreement_id/participants/:participant_id
Updates an existing participant. The agreement must be in draft status in order to update a participant. If the agreement is in open status, the exisiting participants are immutable. In the case of an open agreement, you can still add and delete participants.
Request
Path Parameters
PUT /agreements/:agreement_id/participants/:participant_id parameter
PUT /agreements/:agreement_id/participants/:participant_id parameter
- application/json
Body
PUT /agreements/:agreement_id/participants/:participant_id request body
- MOD1
- MOD2
The email of the participant. Will be used in all communication, if email communication is enabled for the agreement.
The name of the participant. If omitted, the email adress will be used as name.
Possible values: [signer
, approver
]
The role of the participant within the signing process. If the agreement is configured for qualified signatures, only "signer" is supported. Default role is "signer".
identity_enforcement object
The personal number of the participant. If provided, the signer will have to use an advanced signing method which supports swedish personal numbers to sign the agreement and only be allowed to sign if the personal number matches what is provided. Only available for signers.
Possible values: [true
]
Disables identity enforcement for the participant, if already enabled
Possible values: >= -9007199254740991
and <= 9007199254740991
Only applicable if signing order is enabled for the agreement. It specifies the order in the signing queue this participant will have. Will be put last in line if not specified. If multiple participants share the same queue number, this participant will take precendent and the rest will be moved forward accordingly.
Responses
- 200
- 400
PUT /agreements/:agreement_id/participants/:participant_id Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- 118cb3b11b8a1f3b6b1e60a89f96a8be9da32a0f
- MOD3
- MOD1
- MOD3
- Array [
- ]
Possible values: [1.0
]
The version of the response schema
Possible values: [single
]
A single object of the participant resource.
Possible values: [participant
]
Data contains the participant resource.
data object
The participant resource
Possible values: [approver
]
The role of the participant
UTC datetime ISO string
Possible values: [signer
]
The role of the participant
UTC datetime ISO string
signature object nullable required
The signature data for the participant
The unique identifier of the signature data
UTC datetime ISO string
UTC datetime ISO string
identity_enforcement object required
Possible values: [true
]
If true, identity enforcement is enabled for the participant
Possible values: [pending
, passed
, failed
]
The status of the identity enforcement
Possible values: [swe_pno_crosscheck
]
The enforcement method for the identity. Depending on which method is used, different signature method are available
Possible values: [false
]
If true, identity enforcement is enabled for the participant
The unique identifier of the participant
Possible values: [participant
]
The name of the participant. Required if no email is provided.
The email of the participant. Required if agreemnt is configured to send emails.
Possible values: [draft
, pending
, initiated
, processing
, fulfilled
, rejected
]
The status of the participant
Possible values: <= 1.7976931348623157e+308
The queue number of the participant (if sequential signing order is enabled)
signing_group object required
string
Possible values: [1.0
]
The version of the response schema
Possible values: [single
]
A single object of the signing_group resource.
Possible values: [signing_group
]
Data contains the signing_group resource.
data objectrequired
The resource data.
The unique identifier of the signing group
Possible values: [signing_group
]
The name of the signing group
Possible values: [draft
, pending
, fulfilled
]
The status of the signing group
Possible values: >= 5e-324
and <= 1.7976931348623157e+308
The queue number of the signing group
participants object required
string
string
The unique identifier of the agreement this signing group belongs to
UTC datetime ISO string
UTC datetime ISO string
string
The unique identifier for the agreement this participant belongs to
The URL to the signing room for the participant. Only available after the agreement has been finalized for signing.
UTC datetime ISO string
UTC datetime ISO string
{
"version": "1.0",
"result_type": "single",
"resource_type": "participant",
"data": {
"role": "approver",
"decision_made_at": "2024-01-01T00:00:00.000Z"
}
}
PUT /agreements/:agreement_id/participants/:participant_id Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}