ApexERPHost

<back to all web services

GetErpUserCompanies

Requires Authentication
Required role:SysAdmin
The following routes are available for this service:
GET/users/companies/list
GET/users/{UserId}/companies/list
GetErpUserCompanies Parameters:
NameParameterData TypeRequiredDescription
UserIdpathint?No
GetErpUserCompaniesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<ERPUserCompany>No
ERPUserCompany Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformintNo
StatusformintNo
IsAdminformintNo
CompanyformERPCompanyInfoNo
ERPCompanyInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CodeformstringNo
NameformstringNo
Statusformint?No
OrgDataformOrgInfoNo
OwnerUserformERPUserInfoNo
LicenseformApexLicenseInfoNo
OrgInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ShortNameformstringNo
RegNumberformstringNo
OrgTypeformstringNo
NAECformstringNo
IsVatPayerformboolNo
VatSertformstringNo
VatSertIsuedformDateTime?No
IsExcisePayerformboolNo
ExciseSertformstringNo
ExciseSertIsuedformDateTime?No
JurAddressformstringNo
AddressformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
UrlformstringNo
BankformstringNo
BankAccformstringNo
TransactionalAccformstringNo
CEOPostformstringNo
CEONameformstringNo
HRPostformstringNo
HRNameformstringNo
AccountentPostformstringNo
AccountentNameformstringNo
CashierPostformstringNo
CashierNameformstringNo
RSNameformstringNo
RSAddressformstringNo
RSPhoneformstringNo
RSHeadformstringNo
VatPutAccformstringNo
VatNoPutAccformstringNo
VatInvoiceAccformstringNo
ExchangeRateDiffPlusAccformstringNo
ExchnageRateDiffMinusAccformstringNo
ERPUserInfo Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
UserNameformstringNo
EmailformstringNo
NameformstringNo
LastNameformstringNo
LastLoginAttemptformDateTime?No
InvalidLoginAttemptsformintNo
BlockedformboolNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
LockedDateformDateTime?No
PhoneNumberformstringNo
BirthDateformDateTime?No
LanguageformstringNo
EmailConfirmedformboolNo
IsSysAdminformboolNo
UserDataformstringNo
DisplayNameformstringNo
MaxSessionCountformintNo
ApexLicenseInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ProductNameformstringNo
CreateDateformDateTimeNo
ExpirationDateformDateTime?No
ModulesformList<string>No

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 /users/companies/list HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"CompanyId":0,"Status":0,"IsAdmin":0,"Company":{"Id":0,"Code":"String","Name":"String","Status":0,"OrgData":{"Name":"String","ShortName":"String","RegNumber":"String","OrgType":"String","NAEC":"String","IsVatPayer":false,"VatSert":"String","VatSertIsued":"\/Date(-62135596800000-0000)\/","IsExcisePayer":false,"ExciseSert":"String","ExciseSertIsued":"\/Date(-62135596800000-0000)\/","JurAddress":"String","Address":"String","Phone":"String","Fax":"String","Email":"String","Url":"String","Bank":"String","BankAcc":"String","TransactionalAcc":"String","CEOPost":"String","CEOName":"String","HRPost":"String","HRName":"String","AccountentPost":"String","AccountentName":"String","CashierPost":"String","CashierName":"String","RSName":"String","RSAddress":"String","RSPhone":"String","RSHead":"String","VatPutAcc":"String","VatNoPutAcc":"String","VatInvoiceAcc":"String","ExchangeRateDiffPlusAcc":"String","ExchnageRateDiffMinusAcc":"String"},"OwnerUser":{"UserId":0,"UserName":"String","Email":"String","Name":"String","LastName":"String","LastLoginAttempt":"\/Date(-62135596800000-0000)\/","InvalidLoginAttempts":0,"Blocked":false,"CreatedDate":"\/Date(-62135596800000-0000)\/","ModifiedDate":"\/Date(-62135596800000-0000)\/","LockedDate":"\/Date(-62135596800000-0000)\/","PhoneNumber":"String","BirthDate":"\/Date(-62135596800000-0000)\/","Language":"String","EmailConfirmed":false,"IsSysAdmin":false,"UserData":"String","DisplayName":"String","MaxSessionCount":0},"License":{"Id":"String","ProductName":"String","CreateDate":"\/Date(-62135596800000-0000)\/","ExpirationDate":"\/Date(-62135596800000-0000)\/","Modules":["String"]}}}]}