Get Company Details (ivnGetCompanyDetailsByID)
§ |
This web service is invoked to retrieve the details of the Company in Intelliview NXT system. |
§ |
User requires “Super Admin privilege (User parameter in ivnInitialize) for invoking this API. |
Web Service Request:
public string ivnGetCompanyDetailsByID (string SessionToken, int CompanyID)
Web Service Request Parameters:
Parameters |
Data Type |
Description |
Remarks |
SessionToken |
String |
The unique Identification assigned for the |
|
CompanyID |
Integer |
The unique Identification assigned to the |
|
Web Service Response (Success):
<ResponseMessage>
<CompanyDetails>
<Company ID='23' CompanyShortName='Pinnacle' CompanyName='Pinnacle' CompanyDescription='Electronic Store'
CreatedOn='09/02/2013 17:38:38' ModifiedOn='09/02/2013 09:56:23' CompanyActiveStatus='True' />
<ConnectionList>
<Connection ID='1' ConnectionName='SalesDatabase' ConnectionType=MYSQL' />
<Connection ID='2' ConnectionName='PinnacleDatabase' ConnectionType='ORACLE' />
<ConnectionList />
<AdminUserDetails>
<User ID='3' UserName='admin' FirstName='Bill' LastName='Roy' EmailID='admin@synaptris.com' PhoneNo='1234567890'/>
</AdminUserDetails>
<CompanyDetails/>
<Company ID='23'/>
<Version No='1.3.1.1'/>
</ResponseMessage>
Web Service Response (Error):
<ResponseMessage>
<Message ID='SYN_REP_ERROR_7511'/>
<Response Message= 'Company ID is not valid'/>
<Company ID='23'/>
<Version No='1.3.1.1'/>
</ResponseMessage>
Web Service Return Parameters:
Parameters |
Data Type |
Description |
Remarks |
Company ID |
Integer |
The unique Identification assigned |
|
CompanyShortName |
String |
Company Short Name |
|
CompanyName |
String |
Company Name |
|
CompanyDescription |
String |
Company Description |
|
CreatedOn |
Date |
Date on which the company was |
|
ModifiedOn |
Date |
Date on which the company was |
|
CompanyActiveStatus |
Boolean |
Status of the Company |
|
|
Connection ID |
Integer |
The unique identification assigned |
|
|
ConnectioName |
String |
Connection name to the data |
|
|
ConnectionType |
String |
Indicates the database type to |
|
Valid Values: MS SQL ORACLE DB2 MYSQL |
User ID |
Integer |
The unique identification assigned |
|
|
UserName |
String |
Login User Name |
|
|
FirstName |
Sting |
First Name of the Admin User |
|
|
LastName |
String |
Last Name of the Admin User |
|
|
EmailID |
String |
Email id of the admin user |
|
|
PhoneNo |
String |
Phone Number of the Admin user |
|
|
Message ID |
String |
The unique identification assigned |
Returned on Error. |
|
ResponseMessage |
String |
The Response Message is received |
Returned on Error. |
|
Version No |
String |
The last digit after the third decimal |
|
Response Messages:
Srl.No. |
Message ID |
Message |
1 |
SYN_REP_ERROR_7501 |
Intelliview NXT session is expired or not initialized or |
2 |
SYN_REP_ERROR_7508 |
User does not have super admin privileges |
3 |
SYN_REP_ERROR_7511 |
Company ID is not valid |
4 |
SYN_REP_ERROR_5035 |
Exception has occurred. Contact your Administrator |
<< Get Company Details (ivnGetCompanyDetails) | Get All Company Details (ivnGetAllCompanyDetails) >>