Skip to main content

Get By Slug

GET

https://domain/api/fm-mobile/v1/clients/slug/{slug}

Request Parameters

NameDescriptionRequiredType
slugRequiredstring

Response

CodeDescription
200
Success.
401
Unauthorized.
404
Not Found.
500
Error From Server.

Response Model

NameDescriptionType
Namestring
Slugstring
AbbreviationNamestring
Addressstring
Websitestring
PhoneNumberstring
IsActivebool
ForgeClientIdstring
ForgeClientNamestring
OneDriveAccountFileIdstring
OneDriveAccountFileNamestring
OneDriveAccountTeamsIdstring
OneDriveAccountTeamsNamestring
OneDriveAccountMailIdstring
OneDriveAccountMailNamestring

Example Usage

function helloWorld() {
console.log("Hello, world!");
}

Example Success Response

[
{
"id": 133024,
"name": "Mumbai"
},
...
]

Example Error Response

{
"error'": "Unauthorized. You shouldn't be here."
}