Pobierz listę osób odpowiedzialnych (GPSR)
GET
/api/Responsible/GetResponsiblePersons
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsiblePersons';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsiblePersons \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”connectionId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
responsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
object
responsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
Examplegenerated
{ "responsiblePersons": [ { "responsiblePersonId": "example", "responsiblePersonName": "example", "connectionId": "example", "connectionName": "example" } ]}object
responsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
Examplegenerated
{ "responsiblePersons": [ { "responsiblePersonId": "example", "responsiblePersonName": "example", "connectionId": "example", "connectionName": "example" } ]}
