ApexERPHost

<back to all web services

QueryLoyaltyCardPersonView

Requires Authentication
The following routes are available for this service:
GET/LoyaltyCards/PersonsView/Query
QueryLoyaltyCardPersonView Parameters:
NameParameterData TypeRequiredDescription
PersonIdqueryint?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
LoyaltyCardPersonView Parameters:
NameParameterData TypeRequiredDescription
PersonIdformintNo
UnIdformGuidNo
CitizenshipIdformintNo
QualificationIdformintNo
FamilyStatusIdformintNo
SocialStatusIdformintNo
ProfessionIdformintNo
ProfessionExIdformintNo
DistrictIdformint?No
FullNameformstringNo
FullNameEnformstringNo
FirstNameformstringNo
LastNameformstringNo
SecondNameformstringNo
DateBornformDateTime?No
SexformboolNo
MerriedformboolNo
ResidentformboolNo
IsWorkerformbool?No
ChildrensformintNo
PerNumformstringNo
AddressformstringNo
WorknameformstringNo
NoteformstringNo
CrTimeformDateTime?No
TotalPointsformdecimal?No
CardsCountformint?No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /LoyaltyCards/PersonsView/Query HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"PersonId":0,"UnId":"00000000000000000000000000000000","CitizenshipId":0,"QualificationId":0,"FamilyStatusId":0,"SocialStatusId":0,"ProfessionId":0,"ProfessionExId":0,"DistrictId":0,"FullName":"String","FullNameEn":"String","FirstName":"String","LastName":"String","SecondName":"String","DateBorn":"\/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)\/","TotalPoints":0,"CardsCount":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}