List company lists
Last updated
Last updated
import requests
response = requests.get(
"https://journeys-api.50skills.app/v1/company/lists/",
)
print(response.json())
fetch("https://journeys-api.50skills.app/v1/company/lists/")
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Fetch error:", error));
[
{
"id":"mQxg5vGb",
"shortId":"mQxg5vGb",
"name":"Jira issue types",
"source":"Jira",
"options":[
{
"shortId":"8VKkppzP",
"value":"10003",
"label":"Service request",
"order":0
},
{
"shortId":"8ob3kwzp",
"value":"10000",
"label":"Epic",
"order":1
},
{
"shortId":"AEGdQnKo",
"value":"10007",
"label":"System problem",
"order":2
}
],
"numOptions":3
},
{
"id":"7lXC12dzY",
"shortId":"7lXC12dzY",
"name":"Jira projects",
"source":"Jira",
"options":[
{
"shortId":"aBKlbey0",
"value":"ITSM",
"label":"ITSM Sample",
"order":0
},
{
"shortId":"0VSR4qzO",
"value":"HR",
"label":"HR",
"order":1
}
],
"numOptions":2
}
]
List all company lists
v1/company/lists/
[
{
"id": "jZzwxywD",
"shortId": "jZzwxywD",
"name": "List one",
"source": "",
"numOptions": 2,
"options": [
{
"shortId": "8OzY2y57",
"value": "1",
"label": "Item 1",
"order": 0
},
{
"shortId": "AOyeZGXP",
"value": "2",
"label": "Item 2",
"order": 1
}
]
}
]