| GET | /Crm/StaffRoll/Accs |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RollType | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<GetCrmStaffRollAccs> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PersonId | form | int | No | |
| PersonSN | form | string | No | |
| PName | form | string | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| PostName | form | string | No | |
| DepName | form | string | No | |
| DBAcc | form | string | No | |
| CRAcc | form | string | No | |
| AccId | form | int? | No | |
| ExpenceAcc | form | string | No | |
| PersonAcc | 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 /Crm/StaffRoll/Accs HTTP/1.1 Host: apex.nikoratrade.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:
[
{
PersonId: 0,
PersonSN: String,
PName: String,
FirstName: String,
LastName: String,
PostName: String,
DepName: String,
DBAcc: String,
CRAcc: String,
AccId: 0,
ExpenceAcc: String,
PersonAcc: String
}
]
}