API


Click here for a complete list of operations.

AdminSignIn

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sWSUserName:
sWSPassword:
username:
pass:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /restful_v5_2_8/api.asmx HTTP/1.1
Host: kbcsony.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.tvinci.com/AdminSignIn"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdminSignIn xmlns="http://api.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <username>string</username>
      <pass>string</pass>
    </AdminSignIn>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdminSignInResponse xmlns="http://api.tvinci.com/">
      <AdminSignInResult>
        <m_status>Unknown or UserDoesNotExist or UserALreadyLoggedIn or UserLocked or OK or Error</m_status>
        <m_adminUser>
          <m_accountUserName>string</m_accountUserName>
          <m_accountEmail>string</m_accountEmail>
          <m_accountUserID>int</m_accountUserID>
          <m_groupID>int</m_groupID>
          <m_relatedAccount>
            <m_id>int</m_id>
            <m_name>string</m_name>
            <m_subGroups xsi:nil="true" />
            <m_logo>string</m_logo>
            <m_parentGroupID>int</m_parentGroupID>
          </m_relatedAccount>
        </m_adminUser>
      </AdminSignInResult>
    </AdminSignInResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /restful_v5_2_8/api.asmx HTTP/1.1
Host: kbcsony.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdminSignIn xmlns="http://api.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <username>string</username>
      <pass>string</pass>
    </AdminSignIn>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdminSignInResponse xmlns="http://api.tvinci.com/">
      <AdminSignInResult>
        <m_status>Unknown or UserDoesNotExist or UserALreadyLoggedIn or UserLocked or OK or Error</m_status>
        <m_adminUser>
          <m_accountUserName>string</m_accountUserName>
          <m_accountEmail>string</m_accountEmail>
          <m_accountUserID>int</m_accountUserID>
          <m_groupID>int</m_groupID>
          <m_relatedAccount>
            <m_id>int</m_id>
            <m_name>string</m_name>
            <m_subGroups xsi:nil="true" />
            <m_logo>string</m_logo>
            <m_parentGroupID>int</m_parentGroupID>
          </m_relatedAccount>
        </m_adminUser>
      </AdminSignInResult>
    </AdminSignInResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /restful_v5_2_8/api.asmx/AdminSignIn HTTP/1.1
Host: kbcsony.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sWSUserName=string&sWSPassword=string&username=string&pass=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<AdminAccountUserResponse xmlns="http://api.tvinci.com/">
  <m_status>Unknown or UserDoesNotExist or UserALreadyLoggedIn or UserLocked or OK or Error</m_status>
  <m_adminUser>
    <m_accountUserName>string</m_accountUserName>
    <m_accountEmail>string</m_accountEmail>
    <m_accountUserID>int</m_accountUserID>
    <m_groupID>int</m_groupID>
    <m_relatedAccount>
      <m_id>int</m_id>
      <m_name>string</m_name>
      <m_subGroups>
        <AdminAccountObj d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AdminAccountObj d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </m_subGroups>
      <m_logo>string</m_logo>
      <m_parentGroupID>int</m_parentGroupID>
    </m_relatedAccount>
  </m_adminUser>
</AdminAccountUserResponse>