Get By Slug
GEThttps://domain/api/fm-mobile/v1/clients/slug/{slug}
Request Parameters
| Name | Description | Required | Type |
|---|---|---|---|
| slug | Required | string |
Response
| Code | Description |
|---|---|
200 | Success. |
401 | Unauthorized. |
404 | Not Found. |
500 | Error From Server. |
Response Model
| Name | Description | Type |
|---|---|---|
| Name | string | |
| Slug | string | |
| AbbreviationName | string | |
| Address | string | |
| Website | string | |
| PhoneNumber | string | |
| IsActive | bool | |
| ForgeClientId | string | |
| ForgeClientName | string | |
| OneDriveAccountFileId | string | |
| OneDriveAccountFileName | string | |
| OneDriveAccountTeamsId | string | |
| OneDriveAccountTeamsName | string | |
| OneDriveAccountMailId | string | |
| OneDriveAccountMailName | string |
Example Usage
- JavaScript
- .Net
function helloWorld() {
console.log("Hello, world!");
}
def hello_world():
print 'Hello, world!'
Example Success Response
[
{
"id": 133024,
"name": "Mumbai"
},
...
]
Example Error Response
{
"error'": "Unauthorized. You shouldn't be here."
}