Przejdź do głównej zawartości

Pobierz rodzaje połączeń

GET
/api/v3/ConnectionKinds
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/ConnectionKinds \
--header 'Authorization: Bearer <token>'

Zwraca listę rodzajów połączeń (np. sprzedaż, wysyłka), używanych do grupowania definicji.

Success

Typ treściapplication/json
Array<string>
Examplegenerated
[
"example"
]

Bad Request

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Unauthorized

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}