@one-view/pd-oneview-cs-agent-types
v0.0.8
Published
example delivery project
Downloads
4
Maintainers
Keywords
Readme
FORMAT: 1A HOST: https://api.pd-oneview.net/cs-agent
pd-oneview-cs-agent
example delivery project
Agent profile [/v1/profile]
Agent profile data for language
Get [GET]
Request
Headers
Authorization: bearer token
Response 200 (application/json)
- Attributes (AgentProfile)
Response 404 (application/json)
- Attributes (Error)
Response 500 (application/json)
- Attributes (Error)
Update agent language [/v1/update-language]
Post [POST]
Request
Headers
Authorization: bearer token
Attributes (UpdateLanguage)
Response 200 (application/json)
- Attributes (AgentProfile)
Response 404 (application/json)
- Attributes (Error)
Response 500 (application/json)
- Attributes (Error)
Data Structures
int64 (number)
error_object
(object)
- status (string)
- title (string)
Error
(object)
- errors (array[error_object], fixed-type)
AgentProfile
- language :
en
(string) - agent preferred language - id :
f4b8f8e5-365a-4ed1-a122-0f4ba1afef44
(string, required) - agent id - email :
[email protected]
- agent email - name :
somename
(string) - agent name - displayName :
john doe
(string) - agent display name - organisation :
ssc
(string) - agent organisation
UpdateLanguage
- language :
en
(string) - agent preferred language