Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
indent20px
stylecircle

Bootstrap Callout
Expand
titleKullanıcı Girişi

POST→ /LogoCRMRest/api/v1.0/login

Headers

Name

Value

Content-Type

application/json

Parameters

Name

Value

Authorization

Parametreler base64Encoded olarak "authorization" query name ile POST edilir: 

Example Authorization (Base64 encode için : https://www.base64decode.org/)

  •  Basic BASE64Encode(LOGO:Logo)
  •  Basic BASE64Encode(LOGO:Logo:true)
  •  Basic BASE64Encode(LOGO:Logo:true:tr)
  •  Basic BASE64Encode(LOGO:Logo:true:tr:false) 

Body

#Yok

Response

Code

Description

200

{
    "Meta": null,
    "Result": 1,
    "Message": "",
    "SessionId": "4882666c-c8bb-4998-b3fa-ab6d8a4ffa6a",
    "User": "0fe8cbb3-78eb-4ea5-a81b-4809210c71e8",
    "Integration_Connected": false,
    "Integration_SetOid": "61e1ce89-bc7e-42af-bbe0-4d889fd2c2aa",
    "Integration_ApplicationType": 2,
    "Integration_ApplicationName": "Tiger Enterprise",
    "Integration_FirmNumber": "",
    "Integration_Description": "Tiger3",
    "Integration_BranchCode": "",
    "Integration_BranchName": "",
    "IsUserAdmin": true,
    "RESTApiVersion": "1.59",
    "ClearDescribe": false,
    "AccessRights": [],
    "SalesRepRights": [],
    "NavigationMenuNames": {
        "MT_Firm": "",
        "MT_Contact": "",
        "MT_Task": "",
        "MT_Ticket": "",
        "MT_Event": "",
        "MT_Document": "",
        "MT_Activity": "",
        "MT_Opportunity": "",
        "MT_Proposals": "",
        "MT_Product": "",
        "MT_Campaign": "",
        "MT_Mail": "",
        "MT_Notes": "",
        "MT_Notifications": "",
        "MT_Shares": ""
    },
    "XMLSettings": {
        "flag_DontUseDistanceWhenCheckIn": "0"
    },
    "MaxRequestLength": 4096
}



Expand
titleKullanıcı Listesi

GET→ /LogoCrmRest/api/v1.0/users

Headers

Name

Value

Content-Type

application/json

Parameters

Name

Value

SessionId

Login işlemi başarılı bir şekilde POST edildiğinde üretilen SessionId kullanılmaktadır.

Body

#Yok

Response

Code

Description

200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/users",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "406c9b3d-262d-44ab-bc05-0cd6540d376c",
            "InternalPersonType": 1,
            "FirstName": "Ahmet",
            "LastName": "Yılmaz",
            "MiddleName": null,
            "Birthday": "1999-01-01T00:00:00",
            "Email": null,
            "UserName": "Ahmet",
            "IsActive": true,
            "StoredPassword": null,
            "ChangePasswordOnFirstLogon": false,
            "UserLanguage": 1,
            "Gender": 0,
            "EMailAddress": null,
            "ERPUserName": null,
            "Caption": "Ahmet Yılmaz",
            "ProposalSync": 0,
            "PhotoBase64": null,
            "IsActiveRecord": true
        },
        {
            "Oid": "0fe8cbb3-78eb-4ea5-a81b-4809210c71e8",
            "InternalPersonType": 1,
            "FirstName": "System",
            "LastName": "Administrator",
            "MiddleName": null,
            "Birthday": "1900-01-01T00:00:00",
            "Email": null,
            "UserName": "LOGO",
            "IsActive": true,
            "StoredPassword": null,
            "ChangePasswordOnFirstLogon": false,
            "UserLanguage": 1,
            "Gender": 0,
            "EMailAddress": null,
            "ERPUserName": null,
            "Caption": "System Administrator",
            "ProposalSync": 0,
            "PhotoBase64": null,
            "IsActiveRecord": true
        }
    ]
}

...