For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create company list

Create company list

post

Create a new company list

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Body
idstringRead-onlyRequired
short_idstringRead-onlyRequired
namestring · max: 255Required
sourcestring · max: 255 · nullableOptional
num_optionsstringRead-onlyRequired
Responses
201Success
application/json
idstringRead-onlyRequired
short_idstringRead-onlyRequired
namestring · max: 255Required
sourcestring · max: 255 · nullableOptional
num_optionsstringRead-onlyRequired
postv1/company/lists/
Python

Request samples

{
   "name":"Issue types",
   "source":"Jira",
   "options":[
      {
         "value":"10003",
         "label":"Service request"
      },
      {
         "value":"10000",
         "label":"Epic"
      },
      {
         "value":"10007",
         "label":"System problem"
      }
   ]
}
import requests
response = requests.post(
    "https://journeys-api.50skills.app/v1/company/lists/",
    json={
        "name": "Issue types",
        "source": "Jira",
        "options": [
            {
                "value":"10003",
                "label":"Service request"
            },
            {
                 "value":"10000",
                 "label":"Epic"
            },
            {
                 "value":"10007",
                 "label":"System problem"
            }
        ],
    }
)
print(response.json())               

Response samples

Last updated