Pobierz osobę odpowiedzialną (GPSR)
GET
/api/Responsible/GetResponsiblePerson
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsiblePerson';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/GetResponsiblePerson \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
ResponsiblePersonId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
id
string
name
wymagane
string
personalData
wymagane
object
name
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
object
id
string
name
wymagane
string
personalData
wymagane
object
name
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
Examplegenerated
{ "id": "example", "name": "example", "personalData": { "name": "example", "address": { "countryCode": "example", "street": "example", "postalCode": "example", "city": "example" }, "contact": { "email": "example", "phoneNumber": "example", "formUrl": "example" } }}object
id
string
name
wymagane
string
personalData
wymagane
object
name
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
Examplegenerated
{ "id": "example", "name": "example", "personalData": { "name": "example", "address": { "countryCode": "example", "street": "example", "postalCode": "example", "city": "example" }, "contact": { "email": "example", "phoneNumber": "example", "formUrl": "example" } }}Bad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
