ЕСОЗ - публічна документація

Get User

Purpose

Thie WS designed to check existence of user with input tax_id

 

Specification

Link

API paragraph not found

Resource

/private/cabinet/users

Scope

Not required

Components

API paragraph not found

Microservices

API paragraph not found

Protocol type

REST

Request type

POST

Sync/Async

API paragraph not found

Public/Private/Internal

Internal. Cabinet

 

Logic

Thie WS designed to check existence of user with input tax_id

 

Request structure

See on Apiary

Example:

{ "signed_content": "eyJqd3QiOiAiZXlKaGJHY2lPaUpJVXpVeE1pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmhkV1FpT2lKallXSnBibVYwTFhKbFoybHpkSEpoZEdsdmJpSXNJbVZ0WVdsc0lqb2lZbTluWkdGdVlTNXJiMjV2ZG1Gc1pXNXJieXMwTmtCbmJXRnBiQzVqYjIwaUxDSmxlSEFpT2pFMU1qTTJNekl6TWpnc0ltbGhkQ0k2TVRVeU16WXpNakkyT0N3aWFYTnpJam9pUlVobFlXeDBhQ0lzSW1wMGFTSTZJalUxTVRnek1XVTFMVFV3TUdZdE5HSTBaQzFpWmpoaExUQmpaREpoTm1RMlpEWmhPU0lzSW01aVppSTZNVFV5TXpZek1qSTJOeXdpYzNWaUlqb2lZbTluWkdGdVlTNXJiMjV2ZG1Gc1pXNXJieXMwTmtCbmJXRnBiQzVqYjIwaUxDSjBlWEFpT2lKaFkyTmxjM01pZlEuV2h0MU5teEVYRXA1cHI0ekN5YzIwNFJGYkx6V0ZxX2pPZ2d0U00wdGFpa2hhQW1jVHYwampRMEVrbURyQ2M3eDQ5T0pkOG9SWEFmQjhlblNCSC1qVlEifQ==", "signed_content_encoding": "base64" }

 

Authorize

API paragraph not found

 

Headers

Наприклад:

  • Content-Type:application/json

  • Authorization:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJlbWFpbC12ZXJpZmljYXRpb24iLCJlbWFpbCI6ImJvZ2RhbmEua29ub3ZhbGVua28rOEBnbWFpbC5jb20iLCJleHAiOjE1MjM2MzMwMTksImlhdCI6MTUyMzM3MzgxOSwiaXNzIjoiRUhlYWx0aCIsImp0aSI6ImY0NWYyYzI1LWY1N2ItNGM5Yy04Y2UxLTY4OWZjYzVmYWE2MiIsIm5iZiI6MTUyMzM3MzgxOCwic3ViIjoiYm9nZGFuYS5rb25vdmFsZW5rbys4QGdtYWlsLmNvbSIsInR5cCI6ImFjY2VzcyJ9.dng-m1uZO0CQa_TnQZhO2ZnR8kUcZiNl6Y-RW7oGYIUOyYLBW9ng51_Hiw0_JpUkDR4R9Yq_KS4UvdEUFz3i7A (string, required)

 

Request data validation

API paragraph not found

 

Processing

API paragraph not found

 

Response structure

See on Apiary

Example:

{ "meta": { "code": 200, "url": "https://example.com/resource", "type": "object", "request_id": "req-adasdoijasdojsda" }, "data": {} }

 

{ "meta": { "code": 409, "url": "https://example.com/resource", "type": "object", "request_id": "req-adasdoijasdojsda" }, "error": { "type": "conflict", "message": "User with this tax_id already exists" } }

 

Post-processing processes

API paragraph not found

 

HTTP status codes

HTTP status code

Message

What caused the error

HTTP status code

Message

What caused the error

 200

 

 

 409

 

 

 

ЕСОЗ - публічна документація