Versions Compared

Key

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

Table of Contents
indent20px
stylecircle


Bootstrap Callout
Styleinfo
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
}

...

Bootstrap Callout
Expand
titleTelefon Numarası Ekleme

Telefon Numarası Örnek Şablon İçin Gönderilecek İstek


GET → http://localhost/LogoCrmRest/api/v1.0/phoneNumbers/new?SessionId={{SessionId}}


Firmaya telefon numarası ekleme


RelatedFirm alanında Firmanın Oid bilgisi girilmelidir.


POST → http://localhost/LogoCrmRest/api/v1.0/phoneNumbers?SessionId={{SessionId}}

{

               "Oid":"679d97db-89e7-41d2-ab68-b553ac3a207a",

               "RelatedFirm":{"Oid":"e132b5d6-4c53-44f9-89ef-3766301eda7e"},

               "RelatedContact":null,

               "CountryCode":null,

               "PhoneType":{"Oid":"983ff0b3-8f06-473f-b4ec-bd8a270120ef"},

               "IsLoading":false,

               "IsDeleted":false,

               "Loading":false,

               "IsMobile":false,

               "IsModified":true,

               "IsDefaultPhone":false,

               "PhoneNumber":"",

               "AutoAddedFromFirm":false,

               "AreaCode":"678",

               "Number":"787878787",

               "Extension":"5675"

}


Kişilere telefon numarası ekleme

 

RelatedContact alanında Kişinin Oid bilgisi girilmelidir.


POST → http://localhost/LogoCrmRest/api/v1.0/phoneNumbers?SessionId={{SessionId}}


{

               "Oid":"4083c7a3-642c-42a1-85f6-c58a4dd4fedd",

               "RelatedFirm":null,

               "RelatedContact":{"Oid":"8b1d5e7d-8dc7-4eca-b032-4f9417724bdf"},

               "CountryCode":null,

               "PhoneType":{"Oid":"983ff0b3-8f06-473f-b4ec-bd8a270120ef"},

               "IsLoading":false,

               "IsDeleted":false,

               "Loading":false,

               "IsMobile":false,

               "IsModified":true,

               "IsDefaultPhone":false,

               "PhoneNumber":"",

               "AutoAddedFromFirm":false,

               "AreaCode":"789",

               "Number":"7878888",

               "Extension":"7878"

}

Bootstrap Callout
Expand
titleAdres Ekleme

Adres Örnek Şablonu İçin Gönderilecek İstek

 

GET → http://localhost/LogoCrmRest/api/v1.0/addresses/new?SessionId={{SessionId}}


Firmaya adres ekleme


RelatedFirm alanında Firmanın Oid bilgisi girilmelidir.


POST → http://localhost/LogoCrmRest/api/v1.0/addresses?SessionId={{SessionId}}


{

               "Oid": "da26738f-c89e-4b80-b637-acf1bebec5f5",

               "AddressType": {

                              "Oid": "a7cc0947-25e6-43cf-b754-bec60d02e890"

               },

               "Parish_": {

                              "Oid": "facc1b00-0191-4442-8921-40686cb580e4"

               },

               "District_": {

                              "Oid": "2a2e659f-a080-4509-ba34-7faa2c716455",

                              "DistrictName": "AŞAĞIÇİNİK"

               },

               "County_": {

                              "Oid": "2d915217-f9a9-4a8d-ba28-4395b6bab93f",

                              "CountyName": "TEKKEKÖY"

               },

               "City_": {

                              "Oid": "296933ad-c3e7-4ed8-a8f0-0d3907349e05",

                              "CityName": "SAMSUN"

               },

               "Country": {

                              "Oid": "0baedd92-fe30-410a-9aa7-2dbc87dee2ec",

                              "Name": "TÜRKİYE"

               },

               "IsShipmentAddress": false,

               "Shipment_Code": null,

               "Shipment_Description": null,

               "Shipment_Fax": null,

               "Shipment_Phone1": null,

               "Shipment_Phone2": null,

               "Shipment_RelatedPerson": null,

               "Shipment_RelatedEMail": null,

               "Shipment_TaxNo": null,

               "Shipment_TaxOffice": null,

               "Shipment_VatNo": null,

               "Shipment_Latitude": 0,

               "Shipment_Longtitude": 0,

               "RelatedFirm": {

                              "Oid": "e132b5d6-4c53-44f9-89ef-3766301eda7e"

               },

               "RelatedContact": null,

               "FullAddress": "",

               "RelatedMaps": [],

               "IsLoading": false,

               "IsDeleted": false,

               "Loading": false,

               "IsMobile": false,

               "IsModified": true,

               "IsDefaultShipmentAddress": false,

               "AutoAddedFromFirm": false,

               "Street": "sokak",

               "Street2": "sokak2",

               "StateProvince": "eyalet",

               "ZipPostal": "34555"

}


Kişiye adres ekleme

 

RelatedContact alanında Kişinin Oid bilgisi girilmelidir.

 

POST → http://localhost/LogoCrmRest/api/v1.0/addresses?SessionId={{SessionId}}


{

               "Oid": "ee5cbe57-957e-4cb6-af4b-b08962c4a9dc",

               "AddressType": {

                              "Oid": "a7cc0947-25e6-43cf-b754-bec60d02e890"

               },

               "StateProvince": null,

               "Country": {

                              "Oid": "0baedd92-fe30-410a-9aa7-2dbc87dee2ec",

                              "Name": "TÜRKİYE"

               },

               "IsShipmentAddress": false,

               "Shipment_Code": null,

               "Shipment_Description": null,

               "Shipment_Fax": null,

               "Shipment_Phone1": null,

               "Shipment_Phone2": null,

               "Shipment_RelatedPerson": null,

               "Shipment_RelatedEMail": null,

               "Shipment_TaxNo": null,

               "Shipment_TaxOffice": null,

               "Shipment_VatNo": null,

               "Shipment_Latitude": 0,

               "Shipment_Longtitude": 0,

               "RelatedFirm": null,

               "RelatedContact": {

                              "Oid": "89788c9b-f4bb-4be6-84e4-6e0b8983e154"

               },

               "FullAddress": "",

               "RelatedMaps": [],

               "IsLoading": false,

               "IsDeleted": false,

               "Loading": false,

               "IsMobile": false,

               "IsModified": true,

               "IsDefaultShipmentAddress": false,

               "AutoAddedFromFirm": false,

               "Street": "sokak",

               "Street2": "sokak2",

               "Parish_": {

                              "Oid": "a1064743-f89a-4aad-884f-25aa683839c3"

               },

               "District_": {

                              "Oid": "9b943d60-7894-4297-abc5-da9e3ac30cb9",

                              "DistrictName": "BOSTANCI"

               },

               "County_": {

                              "Oid": "59f84a0c-cc36-428f-9f9e-5c23fcb843bd",

                              "CountyName": "ORTAHİSAR"

               },

               "City_": {

                              "Oid": "66a544da-06d3-47d4-a97d-0170ae9a9259",

                              "CityName": "TRABZON"

               },

               "ZipPostal": "61555"

}