BackofficeApi

<back to all web services

GetProfileRequest

Backoffice
Requires Authentication
Required role:Backoffice
The following routes are available for this service:
GET/staff/get_profile
GetProfileResponse Parameters:
NameParameterData TypeRequiredDescription
UserDtoformBackofficeUserDtoYes
BackofficeUserDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
EmailformstringNo
FirstNameformstringYes
LastNameformstringYes
MobilePhoneformstringYes
LocaleformLocaleNo
Locale Enum:
EnUs
NbNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /staff/get_profile HTTP/1.1 
Host: backoffice-api.brovs.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"userDto":{"id":0,"email":"String","firstName":"String","lastName":"String","mobilePhone":"String","locale":"EnUs"}}