Gemius Traffic

AuthorizeGtUser [finished]

Overlays:

    Activation:

    AuthorizeGtUser.php ? sessionID = ... & system = ... & login = ...     
        [ & passwd = ... ]
            
        [ & md5passwd = ... ]

    Description:

        Logs in to external gemiusTraffic account. Authorization data is kept in session.

    Parameters:

    • sessionID: string(16)
    • system: enum('gT1','gT2')
    • login: string - gemiusTraffic login
    • passwd: string - gemiusTraffic password, not required if gt account have been stored
    • md5passwd: string

    Results:

    <AuthorizeGtUser>
        <status>OK</status>
    </AuthorizeGtUser>

    Throw Errors:



    LogoutGtUser [finished]

    Overlays:

      Activation:

      LogoutGtUser.php ? sessionID = ... & system = ...

      Description:

          Logs out from external gemiusTraffic account.

      Parameters:

      • sessionID: string(16)
      • system: enum('gT1','gT2')

      Results:

      <LogoutGtUser>
          <status>OK</status>
      </LogoutGtUser>

      Throw Errors:



      GetStoredGtAccountsList [finished]

      Overlays:

        Activation:

        GetStoredGtAccountsList.php ? sessionID = ... & system = ...     
            [ & loginPattern = ... ]
                
            [ & limit = ... ]
                
            [ & offset = ... ]

        Description:

            Returns list of previously stored gemiusTraffic accounts.
            For these accounts no password is needed to log in.

        Parameters:

        • sessionID: string(16)
        • system: enum('gT1','gT2')
        • loginPattern: string - gt login pattern
        • limit: uint - limits result to given number of records
        • offset: uint - skips given number of records

        Results:

        <GetStoredGtAccountsList>
            <status>OK</status>
            <accountsNumber>213</accountsNumber> : allRows@
            <accounts>
                <account>
                    <accountID>123</accountID> : uint
                    <login>gtLogin</login> : string(255) - gemiusTraffic login
                    <md5passwd>ab24215bcf809e0fc0d0e72</md5passwd> : string(32)
                    <creationTS>1242123024</creationTS> : uint
                </account>
                <account>
                    <accountID>124</accountID> : uint
                    <login>gtLogin2</login> : string(255) - gemiusTraffic login
                    <md5passwd>ab24215bcf809e0fc0d0e73</md5passwd> : string(32)
                    <creationTS>1242123026</creationTS> : uint
                </account>
            </accounts>
        </GetStoredGtAccountsList>

        Throw Errors:



        GetExtGtScriptsList [finished]

        Overlays:

          Activation:

          GetExtGtScriptsList.php ? sessionID = ...     
              [ & parentID = ... ]
                  
              [ & namePattern = ... ]
                  
              [ & identifier = ... ]

          Description:

              Returns list of scripts in gemiusTraffic account currently logged in.

          Parameters:

          • sessionID: string(16)
          • parentID: uint - parent script id (gemiusTraffic id)
          • namePattern: string
          • identifier: string

          Results:

          <GetExtGtScriptsList>
              <status>OK</status>
              <scriptsNumber>123</scriptsNumber> : uint - records number
              <scripts>
                  <script>
                      <scriptID>0</scriptID> : uint
                      <parentID>-1</parentID> : int
                      <isFolder>N</isFolder> : enum('Y', 'N')
                      <name>home page</name> : string(255)
                      <identifier>d658274h658234hry578234y68</identifier> : string(100)
                  </script>
              </scripts>
          </GetExtGtScriptsList>

          Throw Errors:



          GetExtGt2ProjectsList [finished]

          Overlays:

            Activation:

            GetExtGt2ProjectsList.php ? sessionID = ...     
                [ & limit = ... ]
                    
                [ & offset = ... ]

            Description:

                Returns list of project in gemiusTraffic2 account currently logged in.

            Parameters:

            • sessionID: string(16)
            • limit: uint - limits result to given number of records
            • offset: uint - skips given number of records

            Results:

            <GetExtGt2ProjectsList>
                <status>OK</status>
                <projectsNumber>123</projectsNumber> : uint - records number
                <projects>
                    <project>
                        <projectID>2342</projectID> : uint
                        <projectName>some project</projectName> : string
                    </project>
                </projects>
            </GetExtGt2ProjectsList>

            Throw Errors: