options := kc.Options{
Params: map[string]string{"token": "example"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_sign_token", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
internal
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
body := json.RawMessage("{\n \"signature\": \"example\",\n \"cert\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"token": "example"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_sign_token_finish", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_requestbad_signaturesign_document_changed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
body := json.RawMessage("{\n \"cert\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"token": "example"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_sign_token_prepare", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_agreements", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"number\": \"example\",\n \"title\": \"example\",\n \"kind\": \"sale\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_contract
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_agreements_id", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"kind\": \"main\",\n \"title\": \"example\",\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_documents", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_document
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "doc": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_documents_doc_sign", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
sign_failed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "doc": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_documents_doc_signatures", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_signaturesignature_exists
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"event\": \"sent\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_events", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"name\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_parties", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "get_t_tid_agreements_id_sign_requests", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"signers\": []\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_sign_requests", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
sign_internalsign_request_invalid
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"reason\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "rid": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_sign_requests_rid_cancel", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
sign_request_closed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
body := json.RawMessage("{\n \"reason\": \"example\"\n}")
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "rid": "1"},
Query: map[string][]string{},
Body: body,
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_sign_requests_rid_decline", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
bad_request
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "rid": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_sign_requests_rid_resend", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
sign_internalsign_request_closed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
options := kc.Options{
Params: map[string]string{"tid": "00000000-0000-4000-8000-000000000001", "id": "1", "rid": "1"},
Query: map[string][]string{},
}
var result json.RawMessage
err := client.JSON(context.Background(), "post_t_tid_agreements_id_sign_requests_rid_sign", options, &result)
if err != nil { panic(err) }
fmt.Println(result)
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.