| GET | /GetCompanyUser2 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserName | query | string | No | |
| Password | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | CompanyUser | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanySN | form | string | No | |
| CompanyName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | int | No | |
| cuser | form | string | No | |
| password | form | string | No | |
| is_admin | form | bool | No | |
| company_id | form | int? | No | |
| usertype | form | int? | No | |
| fullname | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /GetCompanyUser2 HTTP/1.1 Host: axfuel.apex.ge Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
{
id: 0,
cuser: String,
password: String,
is_admin: False,
company_id: 0,
usertype: 0,
fullname: String,
CompanySN: String,
CompanyName: String
}
}