API Guide / API Reference / Metadata API / Profile
Profile

You can get the user profile by using this API. The response profile belongs to the user who is actively working on API.If this request is successful, the server returns a response body that contains the user profile information.


URL

https://Witly.co/api/v2/profile?token={0}[&format={1}]


HTTP Method

GET


Request Body

Not required


Request Parameters

Parameter

Required

Description

token

Yes

Access token

format

Optional

Expected return format. The default is JSON. Values are JSON and XML. This parameter is optional.


Example Request

https://Witly.co/api/v2/profile?token=5c33446ac1c049049f9232cf296bdf10


Example Response

{

"id""7b5b270f-e7cb-487b-aa87-2973457c68d5",

"Username""johndoe",

"Account""Acme",

"Status""Active",

"Title"null,

"Name""John Doe",

"First Name""John",

"Last Name""Doe",

"Birthdate""1977-06-21T00:00:00",

"Description""",

"Address": {

"Address Name""",

"Street""",

"City""",

"State""",

"Zipcode""",

"Country"null,

"Phone""",

"Mobile""",

"Fax"""

},

"Website": "",

"Email""johndoe@Witly.co",

"Job Title"null,

"Role""Administrator",

"Org Code""",

"Org Name""",

"Employee Code""201700001",

"Report To""Witly Admin",

"Signature Image"{},

"Profile Picture"{},

"Theme""classic",

"Language""English",

"Number Display Unit"0,

"Currency Unit""",

"Date Format""dd-MM-yyyy",

"Time Format""HH:mm",

"Datetime Format""dd-MM-yyyy HH:mm"

}


Last modified on Jan 23, 2018