GET | /LoyaltyCards/Persons | ||
---|---|---|---|
GET | /LoyaltyCards/dcPersons |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PersonId | query | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<LoyaltyCardPersonDetail> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PersonID | form | int | No | |
UnID | form | Guid | No | |
Citizenship | form | int | No | |
Qualification | form | int | No | |
FamilyStatus | form | int | No | |
SocialStatus | form | int | No | |
Profession | form | int | No | |
ProfessionEx | form | int | No | |
PhoneType | form | int? | No | |
Phone | form | string | No | |
CityID | form | int? | No | |
PName | form | string | No | |
PNamee | form | string | No | |
FirstN | form | string | No | |
LastN | form | string | No | |
SecN | form | string | No | |
DBorn | form | DateTime? | No | |
Sex | form | bool | No | |
Merried | form | bool | No | |
Resident | form | bool | No | |
IsWorker | form | bool? | No | |
Childrens | form | int | No | |
PerNum | form | string | No | |
Address | form | string | No | |
WorkName | form | string | No | |
Note | form | string | No | |
CrTime | form | DateTime? | No | |
Ref1 | form | int? | No | |
CardID | form | string | No | |
IsDisabled | form | bool? | No | |
Points | form | decimal? | No | |
OwnersID | form | int? | 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 /LoyaltyCards/Persons 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, UnID: 00000000000000000000000000000000, Citizenship: 0, Qualification: 0, FamilyStatus: 0, SocialStatus: 0, Profession: 0, ProfessionEx: 0, PhoneType: 0, Phone: String, CityID: 0, PName: String, PNamee: String, FirstN: String, LastN: String, SecN: String, DBorn: 0001-01-01, Sex: False, Merried: False, Resident: False, IsWorker: False, Childrens: 0, PerNum: String, Address: String, WorkName: String, Note: String, CrTime: 0001-01-01, Ref1: 0, CardID: String, IsDisabled: False, Points: 0, OwnersID: 0 } ] }