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 .x-protobuf suffix or ?format=x-protobuf
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: application/x-protobuf
HTTP/1.1 200 OK Content-Type: application/x-protobuf 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":"\/Date(-62135596800000-0000)\/","Sex":false,"Merried":false,"Resident":false,"IsWorker":false,"Childrens":0,"PerNum":"String","Address":"String","WorkName":"String","Note":"String","CrTime":"\/Date(-62135596800000-0000)\/","Ref1":0,"CardID":"String","IsDisabled":false,"Points":0,"OwnersID":0}]}