Versions Compared

Key

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

...

Bootstrap Callout

...

Style

...

success

...

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
Styleinfo
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
        }
    ]
}
Bootstrap Callout
Stylewarning
Expand
titleKullanıcı Ekleme

Kullanıcı ekleme işlemi rest üzerinden POST metodu ile yapılmaktadır. Login olduktan sonra, aşağıdaki örnek gibi bir POST işlemi ile kullanıcı ekleme işlemi yapabilirsiniz.


POST→ /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

{
"FirstName": "Test",
"LastName": "1",
"Birthday": "1978-01-25T00:00:00",
"UserName": "Test1",
"ChangePasswordOnFirstLogon": false,
"EMailAddress": "test1@gmail.com",
"ERPUserName": "LOGO",
"Caption": "TEST 1",
"IsActiveRecord": true,
"IsActive": true,
"UserLanguage": "2"
}

Response

Code

Description

200


Info
titleBilgilendirme

IsActiveRecord ve IsActive dikkat edilmesi gerekmektedir. IsActive false olduğu durumda Sisteme girişi engelle otomatik olarak web arayüzde ekrana gelmektedir. Eğer Sisteme giriş false ise IsActive durumuna bakmayacaktır.

Info
titleÖnemli Not

Postman den POST olarak içeriye verileri aldığımızda Logo CRM kullanıcılar menüsüne tıkladığımızda IIS hatasına düşmekteydi. Çözüm için database açıldı ve web arayüzden bir kullanıcıda eksik olan tanımlama nelerdir diye bakıldı ve POST sırasında "USER Language" verilmediğinden IIS hatasına düşüldüğü görüldü. Post işlemi yaparken "UserLanguage" değerini vermeniz gerekmektedir. User Language :1 Türkçe, User Language: 2 İngilizcedir.

Bootstrap Callout
Expand
titleKullanıcı Güncelleme

Kullanıcı Güncelleme işleminde PUT metodu ile ilgili alanlarda güncelleme yapılmaktadır. Örnek olarak aşağıdaki çıktıda FirstName, LastName, UserName gibi alanlarda değişiklik yapılmıştır. Ayrıca kullanıcının durumunu pasife çekmek için IsActive ve IsActiveRecord işlemini false çekebilirsiniz. Bu alanların dışında rest ucu ile ilgili diğer alanları da pasif yapabilir veya değiştirebilirsiniz.


PUT→ /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

{

"Oid":"C5AB0C26-6199-4379-8CF-F2A8A10430A4"
"FirstName": "Logo1",
"LastName": "CRM1",
"UserName": "LOGOCRM1",
"IsActiveRecord": false,
"IsActive": false,
}

Response

Code

Description

200


Info
titleBilgilendirme

PUT işleminde yani güncelleme yaparken, Oid bilgisini değiştirmemeniz gerekmektedir. Kayıtlı kullanıcı bilgisini bulabileceğimiz değişmeyecek alandır. Diğer alanları güncelleyebilirsiniz.

Bootstrap Callout
Styledanger
Expand
titleKullanıcı Silme

DELETE → /LogoCrmRest/api/v1.0/users/{userOid}

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/a051f136-56d1-4e75-bbe1-4b224f4910be",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": []
}
Bootstrap Callout
Styleinfo
Expand
titleTeklif Listeleme

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

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/proposals",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "caf1228a-b03a-4f2e-9cc9-5be0745e8d60",
            "ActiveRevisalId": "Rev-000001",
            "ProposalId": 1,
            "Alternative": 0,
            "ProposalDescription": null,
            "Priority": 2,
            "ProposalState": 0,
            "ProposalStartDate": "2019-05-20T15:07:03.203",
            "ProposalEstEndDate": "1900-01-01T00:00:00",
            "ProposalExchangeRate": 1,
            "Notes": null,
            "ExchangeRateType": 2,
            "Tags": null,
            "NotifyUsers": null,
            "Total_Amount": 0,
            "Total_LC_Price": 0,
            "Total_LC_PriceDiscounted": 0,
            "Total_LC_SubTotal": 0,
            "Total_LC_DiscountTotal": 0,
            "Total_LC_VATTotal": 0,
            "Total_LC_CommTAXTotal": 0,
            "Total_LC_GrandTotal": 0,
            "Total_PC_Price": 0,
            "Total_PC_PriceDiscounted": 0,
            "Total_PC_SubTotal": 0,
            "Total_PC_DiscountTotal": 0,
            "Total_PC_VATTotal": 0,
            "Total_PC_CommTAXTotal": 0,
            "Total_PC_GrandTotal": 0,
            "Total_LC_PromotionTotal": 0,
            "Total_PC_PromotionTotal": 0,
            "Total_LC_DiscountLineTotal": 0,
            "Total_PC_DiscountLineTotal": 0,
            "LastApprovalState": 0,
            "LastApprovalStateDate": "1900-01-01T00:00:00",
            "IsContract": false,
            "IsContractRenewal": false,
            "ContractStartDate": "1900-01-01T00:00:00",
            "ContractEndDate": "1900-01-01T00:00:00",
            "ContractSignedDate": "1900-01-01T00:00:00",
            "ShipmentAddressCode": "",
            "_CreatedDateTime": "2019-05-20T15:25:05.123",
            "_LastModifiedDateTime": "2019-05-20T15:25:05.133",
            "RecordCreateInfo": "System Administrator, 20.05.2019 15:25",
            "RecordLastUpdateInfo": "System Administrator, 20.05.2019 15:25"
        }
Bootstrap Callout
Styleinfo
Expand
titleYeni Teklif İçin Örnek Json Şablonu

GET → /LogoCrmRest/api/v1.0/proposals/new

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/proposals/new",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "6c873546-e56d-46c8-89a0-fd777a242ed6",
            "ActiveRevisalId": null,
            "ProposalId": 255,
            "Alternative": 0,
            "ProposalDescription": null,
            "ProposalFirm": null,
            "ProposalContact": null,
            "SalesRep": null,
            "Priority": 2,
            "ProposalStage": null,
            "ProposalState": 0,
            "ProposalGroup": null,
            "ProposalType": null,
            "ProposalStartDate": "2019-05-21T08:38:25.91+03:00",
            "ProposalEstEndDate": "1900-01-01T00:00:00",
            "ProposalCurrency": {
                "Oid": "b7b637be-5923-450c-ba16-c24f5970f35e",
                "ShortNotation": "TL",
                "CurrencySign": "₺",
                "Description": "Türk Lirası",
                "IsActive": true,
                "TCMBNotation": "TL",
                "IsLocalCurrency": true,
                "_CreatedBy": null,
                "_CreatedDateTime": "1900-01-01T00:00:00",
                "_LastModifiedBy": null,
                "_LastModifiedDateTime": "1900-01-01T00:00:00"
            },
            "ProposalExchangeRate": 1,
            "Notes": null,
            "Campaign": null,
            "ExchangeRateType": 2,
            "Tags": null,
            "NotifyUsers": null,
            "Incoterm": null,
            "Total_Amount": 0,
            "Total_LC_Price": 0,
            "Total_LC_PriceDiscounted": 0,
            "Total_LC_SubTotal": 0,
            "Total_LC_DiscountTotal": 0,
            "Total_LC_VATTotal": 0,
            "Total_LC_CommTAXTotal": 0,
            "Total_LC_GrandTotal": 0,
            "Total_PC_Price": 0,
            "Total_PC_PriceDiscounted": 0,
            "Total_PC_SubTotal": 0,
            "Total_PC_DiscountTotal": 0,
            "Total_PC_VATTotal": 0,
            "Total_PC_CommTAXTotal": 0,
            "Total_PC_GrandTotal": 0,
            "Total_LC_PromotionTotal": 0,
            "Total_PC_PromotionTotal": 0,
            "Total_LC_DiscountLineTotal": 0,
            "Total_PC_DiscountLineTotal": 0,
            "LastApprovalState": 0,
            "LastApprovalStateBy": null,
            "LastApprovalStateDate": "1900-01-01T00:00:00",
            "LastApprovalWaitingOn": null,
            "LastApprovalGivenBy": null,
            "IsContract": false,
            "ContractType": null,
            "IsContractRenewal": false,
            "ContractStartDate": "1900-01-01T00:00:00",
            "ContractEndDate": "1900-01-01T00:00:00",
            "ContractSignedDate": "1900-01-01T00:00:00",
            "ContractState": null,
            "ShipmentAddress": null,
            "ShipmentAddressCode": "",
            "InvoiceAddress": null,
            "_CreatedBy": {
                "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,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-05-21T08:38:25.948+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "RelatedOpportunityOid": null,
            "TicketOid": null,
            "RecordCreateInfo": "System Administrator, 21.05.2019 08:38",
            "RecordLastUpdateInfo": "",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "doTotalsCalculate": true,
            "RecordType": 0,
            "Total_LC_Surcharge": 0,
            "Total_LC_TotalDiscountPercent": 0,
            "Total_LC_SpecialConsumptionTaxTotal": 0,
            "Total_LC_GiftDiscount": 0,
            "Total_PC_Surcharge": 0,
            "Total_PC_TotalDiscountPercent": 0,
            "Total_PC_SpecialConsumptionTaxTotal": 0,
            "Total_PC_GiftDiscount": 0,
            "LastApprovalOrderNumber": 0,
            "ERPId": "",
            "ERPCode": "",
            "ERPSaleObjectType": 0,
            "InvoiceAddressCode": "",
            "FirmERPId": "",
            "FirmERPCode": "",
            "Total_LC_GrandTotalAsText": "",
            "Total_PC_GrandTotalAsText": "",
            "DiscountAmountIsByTotal": false,
            "CategoryVisible": false,
            "WinningTotal": 0,
            "cmo_ChartVisible": false,
            "CampaignApplied": false,
            "DeleteProductsWhenCategoryDeleted": false,
            "UpdateProductLinesSalesPersonInfo": false,
            "RequestFromTicket": false,
            "ERPCurrencyType_General": "1",
            "ERPCurrencyType_Lines": "0",
            "ERPPricingExchangeRate_Transferred": "0",
            "ERPRiskControl": "0",
            "ERPReportingCurrencyDate": "0",
            "ERPDispatchConfirmationStatus": "0",
            "ERPDispatchType": "8",
            "ERPOrderConfirmationStatus": "1",
            "ReportDisplayName": "_255__"
        }
    ],
    "AppearanceRules": []
}
Bootstrap Callout
Stylewarning
Expand
titleTeklif Ekleme

POST → /LogoCrmRest/api/v1.0/proposals

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

{
            "Oid": "6c873546-e56d-46c8-89a0-fd777a242ed6",
            "ActiveRevisalId": null,
            "ProposalId": 255,
            "Alternative": 0,
            "ProposalDescription": null,
            "ProposalFirm": null,
            "ProposalContact": null,
            "SalesRep": null,
            "Priority": 2,
            "ProposalStage": null,
            "ProposalState": 0,
            "ProposalGroup": null,
            "ProposalType": null,
            "ProposalStartDate": "2019-05-21T08:38:25.91+03:00",
            "ProposalEstEndDate": "1900-01-01T00:00:00",
            "ProposalCurrency": {
                "Oid": "b7b637be-5923-450c-ba16-c24f5970f35e",
                "ShortNotation": "TL",
                "CurrencySign": "₺",
                "Description": "Türk Lirası",
                "IsActive": true,
                "TCMBNotation": "TL",
                "IsLocalCurrency": true,
                "_CreatedBy": null,
                "_CreatedDateTime": "1900-01-01T00:00:00",
                "_LastModifiedBy": null,
                "_LastModifiedDateTime": "1900-01-01T00:00:00"
            },
            "ProposalExchangeRate": 1,
            "Notes": null,
            "Campaign": null,
            "ExchangeRateType": 2,
            "Tags": null,
            "NotifyUsers": null,
            "Incoterm": null,
            "Total_Amount": 0,
            "Total_LC_Price": 0,
            "Total_LC_PriceDiscounted": 0,
            "Total_LC_SubTotal": 0,
            "Total_LC_DiscountTotal": 0,
            "Total_LC_VATTotal": 0,
            "Total_LC_CommTAXTotal": 0,
            "Total_LC_GrandTotal": 0,
            "Total_PC_Price": 0,
            "Total_PC_PriceDiscounted": 0,
            "Total_PC_SubTotal": 0,
            "Total_PC_DiscountTotal": 0,
            "Total_PC_VATTotal": 0,
            "Total_PC_CommTAXTotal": 0,
            "Total_PC_GrandTotal": 0,
            "Total_LC_PromotionTotal": 0,
            "Total_PC_PromotionTotal": 0,
            "Total_LC_DiscountLineTotal": 0,
            "Total_PC_DiscountLineTotal": 0,
            "LastApprovalState": 0,
            "LastApprovalStateBy": null,
            "LastApprovalStateDate": "1900-01-01T00:00:00",
            "LastApprovalWaitingOn": null,
            "LastApprovalGivenBy": null,
            "IsContract": false,
            "ContractType": null,
            "IsContractRenewal": false,
            "ContractStartDate": "1900-01-01T00:00:00",
            "ContractEndDate": "1900-01-01T00:00:00",
            "ContractSignedDate": "1900-01-01T00:00:00",
            "ContractState": null,
            "ShipmentAddress": null,
            "ShipmentAddressCode": "",
            "InvoiceAddress": null,
            "_CreatedBy": {
                "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,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-05-21T08:38:25.948+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "RelatedOpportunityOid": null,
            "TicketOid": null,
            "RecordCreateInfo": "System Administrator, 21.05.2019 08:38",
            "RecordLastUpdateInfo": "",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "doTotalsCalculate": true,
            "RecordType": 0,
            "Total_LC_Surcharge": 0,
            "Total_LC_TotalDiscountPercent": 0,
            "Total_LC_SpecialConsumptionTaxTotal": 0,
            "Total_LC_GiftDiscount": 0,
            "Total_PC_Surcharge": 0,
            "Total_PC_TotalDiscountPercent": 0,
            "Total_PC_SpecialConsumptionTaxTotal": 0,
            "Total_PC_GiftDiscount": 0,
            "LastApprovalOrderNumber": 0,
            "ERPId": "",
            "ERPCode": "",
            "ERPSaleObjectType": 0,
            "InvoiceAddressCode": "",
            "FirmERPId": "",
            "FirmERPCode": "",
            "Total_LC_GrandTotalAsText": "",
            "Total_PC_GrandTotalAsText": "",
            "DiscountAmountIsByTotal": false,
            "CategoryVisible": false,
            "WinningTotal": 0,
            "cmo_ChartVisible": false,
            "CampaignApplied": false,
            "DeleteProductsWhenCategoryDeleted": false,
            "UpdateProductLinesSalesPersonInfo": false,
            "RequestFromTicket": false,
            "ERPCurrencyType_General": "1",
            "ERPCurrencyType_Lines": "0",
            "ERPPricingExchangeRate_Transferred": "0",
            "ERPRiskControl": "0",
            "ERPReportingCurrencyDate": "0",
            "ERPDispatchConfirmationStatus": "0",
            "ERPDispatchType": "8",
            "ERPOrderConfirmationStatus": "1",
            "ReportDisplayName": "_255__"
}

Response

Code

Description

200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/proposals",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "5954189e-b63e-4c0b-8d59-595b5d877545",
            "ActiveRevisalId": "Rev-000001",
            "ProposalId": 251,
            "Alternative": 0,
            "ProposalDescription": null,
            "Priority": 0,
            "ProposalState": 0,
            "ProposalStartDate": "1900-01-01T00:00:00",
            "ProposalEstEndDate": "1900-01-01T00:00:00",
            "ProposalExchangeRate": 1,
            "Notes": null,
            "ExchangeRateType": 2,
            "Tags": null,
            "NotifyUsers": null,
            "Total_Amount": 0,
            "Total_LC_Price": 0,
            "Total_LC_PriceDiscounted": 0,
            "Total_LC_SubTotal": 0,
            "Total_LC_DiscountTotal": 0,
            "Total_LC_VATTotal": 0,
            "Total_LC_CommTAXTotal": 0,
            "Total_LC_GrandTotal": 0,
            "Total_PC_Price": 0,
            "Total_PC_PriceDiscounted": 0,
            "Total_PC_SubTotal": 0,
            "Total_PC_DiscountTotal": 0,
            "Total_PC_VATTotal": 0,
            "Total_PC_CommTAXTotal": 0,
            "Total_PC_GrandTotal": 0,
            "Total_LC_PromotionTotal": 0,
            "Total_PC_PromotionTotal": 0,
            "Total_LC_DiscountLineTotal": 0,
            "Total_PC_DiscountLineTotal": 0,
            "LastApprovalState": 0,
            "LastApprovalStateDate": "1900-01-01T00:00:00",
            "IsContract": false,
            "IsContractRenewal": false,
            "ContractStartDate": "1900-01-01T00:00:00",
            "ContractEndDate": "1900-01-01T00:00:00",
            "ContractSignedDate": "1900-01-01T00:00:00",
            "ShipmentAddressCode": "",
            "_CreatedDateTime": "2019-05-21T13:36:03.557",
            "_LastModifiedDateTime": "2019-05-21T13:36:03.617",
            "RecordCreateInfo": "System Administrator, 21.05.2019 13:36",
            "RecordLastUpdateInfo": "System Administrator, 21.05.2019 13:36",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": false,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "doTotalsCalculate": true,
            "RecordType": 0,
            "Total_LC_Surcharge": 0,
            "Total_LC_TotalDiscountPercent": 0,
            "Total_LC_SpecialConsumptionTaxTotal": 0,
            "Total_LC_GiftDiscount": 0,
            "Total_PC_Surcharge": 0,
            "Total_PC_TotalDiscountPercent": 0,
            "Total_PC_SpecialConsumptionTaxTotal": 0,
            "Total_PC_GiftDiscount": 0,
            "LastApprovalOrderNumber": 0,
            "ERPId": "",
            "ERPCode": "",
            "ERPSaleObjectType": 0,
            "InvoiceAddressCode": "",
            "FirmERPId": "",
            "FirmERPCode": "",
            "Total_LC_GrandTotalAsText": "",
            "Total_PC_GrandTotalAsText": "",
            "DiscountAmountIsByTotal": false,
            "CategoryVisible": false,
            "WinningTotal": 0,
            "cmo_ChartVisible": false,
            "CampaignApplied": false,
            "DeleteProductsWhenCategoryDeleted": false,
            "UpdateProductLinesSalesPersonInfo": false,
            "RequestFromTicket": false,
            "ERPCurrencyType_General": "1",
            "ERPCurrencyType_Lines": "0",
            "ERPPricingExchangeRate_Transferred": "0",
            "ERPRiskControl": "0",
            "ERPReportingCurrencyDate": "0",
            "ERPDispatchConfirmationStatus": "0",
            "ERPDispatchType": "8",
            "ERPOrderConfirmationStatus": "1",
            "ReportDisplayName": "_251_Rev-000001_"
        }
    ],
    "AppearanceRules": []
}
Bootstrap Callout
Styleinfo
Expand
titleYeni Teklif İçin Örnek Json Şablonu

GET → /LogoCrmRest/api/v1.0/proposalProducts/new

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

Add Integration JSON

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/proposalProducts/new",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "fb7af747-93e1-478f-892e-f19c3c84dd3c",
            "LineNo": 0,
            "LineType": 0,
            "ProductOid": null,
            "ProductExtDescription": null,
            "Alternative": 0,
            "IsMainProduct": true,
            "IsOptional": false,
            "Unit": null,
            "Currency": null,
            "ExchangeRate": 1,
            "Amount": 1,
            "Price": 0,
            "VAT": 0,
            "VATIncluded": false,
            "CommTAX": 0,
            "Discount1Percent": 0,
            "Discount1Amount": 0,
            "Discount2Percent": 0,
            "Discount2Amount": 0,
            "PriceDiscounted": 0,
            "SubTotal": 0,
            "VATValue": 0,
            "DiscountTotal": 0,
            "CommTAXValue": 0,
            "GrandTotal": 0,
            "LC_Price": 0,
            "LC_PriceDiscounted": 0,
            "LC_SubTotal": 0,
            "LC_DiscountTotal": 0,
            "LC_VatValue": 0,
            "LC_CommTAXValue": 0,
            "LC_GrandTotal": 0,
            "ProposalCurrency": null,
            "ProposalExchangeRate": 1,
            "PC_Price": 0,
            "PC_PriceDiscounted": 0,
            "PC_SubTotal": 0,
            "PC_DiscountTotal": 0,
            "PC_VatValue": 0,
            "PC_CommTAXValue": 0,
            "PC_GrandTotal": 0,
            "Notes": null,
            "PriceLine": "1,00 x 0,00 = 0,00",
            "BasedOnPercent": true,
            "ExchangeRateType": 1,
            "ProposalStartDate": "2019-05-21T09:25:53.0794547+03:00",
            "RelatedProposal": null,
            "RelatedRevisal": null,
            "_CreatedBy": {
                "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,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-05-21T09:25:53.075+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "_specialConsumptionTax": 0,
            "GiftDiscount": 0,
            "SpecialConsumptionTax": 0,
            "SctEffectsVATBase": false,
            "SctInlineNet": false,
            "SctTaxAmount": 0,
            "SctTaxRate": 0,
            "SctType": 0,
            "SctExists": false,
            "SctAddTaxAmntIsUpd": 1,
            "RecalculateSCT": true,
            "ReadPrice": true,
            "Discount3Percent": 0,
            "Discount3Amount": 0,
            "Discount4Percent": 0,
            "Discount4Amount": 0,
            "Discount5Percent": 0,
            "Discount5Amount": 0,
            "Discount6Percent": 0,
            "Discount6Amount": 0,
            "LC_SpecialConsumptionTax": 0,
            "LC_GiftDiscount": 0,
            "PC_SpecialConsumptionTax": 0,
            "PC_GiftDiscount": 0,
            "_Check": false,
            "UnitConversionFactorMultiply": 1,
            "UnitConversionFactorDivide": 1,
            "RelatedLine": "00000000-0000-0000-0000-000000000000",
            "PromotionRelationOid": "00000000-0000-0000-0000-000000000000",
            "CampaignLineType": 0,
            "ERPId": "",
            "RealPrice": 0,
            "LC_RealPrice": 0,
            "PC_RealPrice": 0,
            "PriceNotReadBasedOnUnit": false,
            "ProductType": "",
            "CampaignApplied_Discount1": false,
            "CampaignApplied_Discount2": false,
            "CampaignApplied_Discount3": false,
            "CampaignApplied_Discount4": false,
            "CampaignApplied_Discount5": false,
            "CampaignApplied_Discount6": false,
            "IsARPDiscount": false,
            "IsReadERPPrice": false
        }
    ],
    "AppearanceRules": []
}
Bootstrap Callout
Expand
titleTeklife Ürün Ekleme

PUT→ /LogoCrmRest/api/v1.0/proposals/addproduct/{proposalOid}/{productOid}

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

Add Integration JSON

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/proposals/addproduct/E2772211-53D7-4E47-85B1-C39B1DC9309D/D660FB99-5081-4C7D-8888-FB540689A6B2",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "a17e68b6-b8d6-4cb1-ab60-99f43d914799",
            "LineNo": 2,
            "LineType": 0,
            "ProductOid": {
                "Oid": "d660fb99-5081-4c7d-8888-fb540689a6b2",
                "ProductCode": "000000000000000000000021",
                "Description": "KOLTUK",
                "ProducerCode": "",
                "Barcode": null,
                "ProductUnitSet": {
                                       ...
                                      ...
        }
    ]
}
Bootstrap Callout
Expand
titleTeklif Ürününü Güncelleme

PUT→ /LogoCRMRest/api/v1.0/proposals/updateProduct/{proposalOid}

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

{
  "Oid": "A17E68B6-B8D6-4CB1-AB60-99F43D914799",
  "LineType": 0,
  "ProductOid": {
    "Oid": "D660FB99-5081-4C7D-8888-FB540689A6B2"
  },
  "Unit": {
    "Oid": "d70238fc-add5-44db-b709-5eb32e4114f1"
  },
  "Currency": {
    "Oid": "b7b637be-5923-450c-ba16-c24f5970f35e"
  },
  "ProposalCurrency": {
    "Oid": "b7b637be-5923-450c-ba16-c24f5970f35e"
  },
  "ExchangeRateType": 2,
  "RelatedProposal": {
    "Oid": "e2772211-53d7-4e47-85b1-c39b1dc9309d"
  },
  "RelatedRevisal": null,
  "IsLoading": false,
  "IsDeleted": false,
  "Loading": false,
  "IsMobile": false,
  "IsModified": false,
  "IsControllerSaving": false,
  "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
  "_specialConsumptionTax": 0,
  "GiftDiscount": 0,
  "SpecialConsumptionTax": 0,
  "SctEffectsVATBase": false,
  "SctInlineNet": false,
  "SctTaxAmount": 0,
  "SctTaxRate": 0,
  "SctType": 0,
  "SctExists": false,
  "SctAddTaxAmntIsUpd": 1,
  "RecalculateSCT": true,
  "ReadPrice": true,
  "Discount3Percent": 0,
  "Discount3Amount": 0,
  "Discount4Percent": 0,
  "Discount4Amount": 0,
  "Discount5Percent": 0,
  "Discount5Amount": 0,
  "Discount6Percent": 0,
  "Discount6Amount": 0,
  "LC_SpecialConsumptionTax": 0,
  "LC_GiftDiscount": 0,
  "PC_SpecialConsumptionTax": 0,
  "PC_GiftDiscount": 0,
  "_Check": false,
  "UnitConversionFactorMultiply": 1,
  "UnitConversionFactorDivide": 1,
  "RelatedLine": "00000000-0000-0000-0000-000000000000",
  "PromotionRelationOid": "00000000-0000-0000-0000-000000000000",
  "CampaignLineType": 0,
  "ERPId": "",
  "RealPrice": 0,
  "LC_RealPrice": 0,
  "PC_RealPrice": 0,
  "PriceNotReadBasedOnUnit": false,
  "ProductType": "Malzeme",
  "CampaignApplied_Discount1": false,
  "CampaignApplied_Discount2": false,
  "CampaignApplied_Discount3": false,
  "CampaignApplied_Discount4": false,
  "CampaignApplied_Discount5": false,
  "CampaignApplied_Discount6": false,
  "IsARPDiscount": false,
  "IsReadERPPrice": true,
  "Alternative": 0,
  "ProductExtDescription": "Tanım",
  "Amount": 5,
  "Price": 6000
}

Response

Code

Description

200

{
    "Meta": {
        "href": "172.16.57.23/LogoCRMRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCRMRest/api/v1.0/proposals/updateProduct/E2772211-53D7-4E47-85B1-C39B1DC9309D",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "a17e68b6-b8d6-4cb1-ab60-99f43d914799",
            "LineNo": 0,
            "LineType": 0,
            "ProductOid": {
                "Oid": "d660fb99-5081-4c7d-8888-fb540689a6b2",
                "ProductCode": "000000000000000000000021",
                "Description": "KOLTUK",
                "ProducerCode": "",
                "Barcode": null,
                "ProductUnitSet": {
                    "Oid": "82d56a67-5609-4ecc-b681-7837681d8c42",
                    "UnitCollectionCode": "",
                    "UnitCollectionDescription": "Uzunluk Birim Seti",
                    "_CreatedBy": {
                        "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,
                        "IsActiveRecord": true
                    },
                    "_CreatedDateTime": "2018-12-05T20:31:50.777",
                    "_LastModifiedBy": {
                        "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,
                        "IsActiveRecord": true
                    },
                    "_LastModifiedDateTime": "2019-04-12T09:22:02.77",
                    "UnitCollectionType": 2,
                    "IsActive": true,
                    "SystemPredefinedSetNo": 0
                },
                "GroupCode": null,
                "ProductType": 1,
                "MainStatus": 1,
                "Class": null,
                "SellVAT": 18,
                "CommTAX": 0,
                "Tags": null,
                "NotifyUsers": null,
                "ProductCategory01": null,
                "ProductCategory02": null,
                "ProductCategory03": null,
                "ProductCategory04": null,
                "ProductCategory05": null,
                "DescInTurkish": null,
                "DescInEnglish": null,
                "DescInFrench": null,
                "DescInChinese": null,
                "DescInGerman": null,
                "DescInItalian": null,
                "DescInJapanese": null,
                "DescInRussian": null,
                "DescInSpanish": null,
                "DescInArabic": null,
                "_CreatedBy": {
                    "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,
                    "IsActiveRecord": true
                },
                "_CreatedDateTime": "2019-04-12T09:21:59.807",
                "_LastModifiedBy": {
                    "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,
                    "IsActiveRecord": true
                },
                "_LastModifiedDateTime": "2019-04-12T09:21:59.807",
                "RecordCreateInfo": "System Administrator, 12.04.2019 09:21",
                "RecordLastUpdateInfo": "System Administrator, 12.04.2019 09:21",
                "ERPId": "",
                "ERPCode": ""
        }
               .....
    ]
}
Bootstrap Callout
Styledanger
Expand
titleTeklif Silme

DELETE→ /LogoCRMRest/api/v1.0/proposals/{proposalOid}

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/proposals/6991D466-A76A-4763-A026-044494826376",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": []
}
Bootstrap Callout
Styledanger
Expand
titleTeklif Ürününün Silinmesi

DELETE → /LogoCRMRest/api/v1.0/proposals/removeProduct/{proposalOid}/{proposalProductOid}

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/proposals/removeProduct/E2772211-53D7-4E47-85B1-C39B1DC9309D/D263D08E-ED25-4AC7-B262-417623095425",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": []
}
Bootstrap Callout
Styleinfo
Expand
titleTeklif Ürünü Listeleme

GET → /LogoCRMRest/api/v1.0/proposalProducts

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/proposalProducts",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "a726da44-1fe4-4e48-b70d-7a43bc3bd15a",
            "LineNo": 1,
            "LineType": 0,
            "ProductExtDescription": null,
            "Alternative": 0,
            "IsMainProduct": true,
            "IsOptional": false,
            "ExchangeRate": 1,
            "Amount": 1,
            "Price": 1000,
            "VAT": 18,
            "VATIncluded": false,
            "CommTAX": 0,
            "Discount1Percent": 0,
            "Discount1Amount": 0,
            "Discount2Percent": 0,
            "Discount2Amount": 0,
            "PriceDiscounted": 1000,
            "SubTotal": 1000,
            "VATValue": 180,
            "DiscountTotal": 0,
            "CommTAXValue": 0,
            "GrandTotal": 1180,
            "LC_Price": 1000,
            "LC_PriceDiscounted": 1000,
            "LC_SubTotal": 1000,
            "LC_DiscountTotal": 0,
            "LC_VatValue": 180,
            "LC_CommTAXValue": 0,
            "LC_GrandTotal": 1180,
            "ProposalExchangeRate": 1,
            "PC_Price": 1000,
            "PC_PriceDiscounted": 1000,
            "PC_SubTotal": 1000,
            "PC_DiscountTotal": 0,
            "PC_VatValue": 180,
            "PC_CommTAXValue": 0,
            "PC_GrandTotal": 1180,
            "Notes": null,
            "PriceLine": "1,00 ADET  x 1.000,00₺ + %18,00 = 1.180,00₺",
            "BasedOnPercent": true,
            "ExchangeRateType": 1,
            "ProposalStartDate": "2019-05-21T15:16:31.6577968+03:00",
            "_CreatedDateTime": "2019-04-02T13:28:16.06",
            "_LastModifiedDateTime": "2019-04-02T13:28:16.06"
        }
    ]
}
Bootstrap Callout
Styleinfo
Expand
titleFirma Listeleme

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

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/firms",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "96f11a95-d2fe-47b7-a275-89735b0313aa",
            "FirmCode": "00000053",
            "FirmTitle": "AAAAAAAAa",
            "InUse": true,
            "IsPersonCompany": false,
            "TaxOffice": null,
            "TaxNo": null,
            "EmailAddress1": null,
            "WebAddress1": null,
            "Networks_": {
                "Oid": "eb1c1ca2-6bc7-42bd-a100-8bc46b230ff4"
            },
            "SalesRep": null,
            "MainSector": null,
            "SubSector": null,
            "FirmRole": null,
            "Notes": null,
            "Tags": null,
            "DefaultPhone": null,
            "FirmAddress": null
        },
....
    ]
}
Bootstrap Callout
Styleinfo
Expand
titleYeni Firma İçin Örnek Json Şablonu

GET → /LogoCrmRest/api/v1.0/firms/new

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/firms/new",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "48d20def-5203-4513-a58d-4989fdea5888",
            "FirmCode": "00000054",
            "FirmTitle": null,
            "InUse": true,
            "IsPersonCompany": false,
            "PersonId": null,
            "TaxOffice": null,
            "TaxNo": null,
            "EmailAddress1": null,
            "EmailAddress2": null,
            "EmailAddress3": null,
            "WebAddress1": null,
            "WebAddress2": null,
            "Networks_": {
                "Oid": "66bacfab-9576-4844-aaa9-684521617321",
                "smFacebook": null,
                "smTwitter": null,
                "smInstagram": null,
                "smGooglePlus": null,
                "smLinkedIn": null,
                "smSkype": null,
                "smYoutube": null
            },
            "Latitude": 0,
            "Longtitude": 0,
            "SalesRep": null,
            "MainSector": null,
            "SubSector": null,
            "FirmRole": null,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "FirmCategory01": null,
            "FirmCategory02": null,
            "FirmCategory03": null,
            "FirmCategory04": null,
            "FirmCategory05": null,
            "ReferenceSource": null,
            "ParentFirm": null,
            "_CreatedBy": {
                "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,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-05-21T16:16:48.764+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "RecordCreateInfo": "System Administrator, 21.05.2019 16:16",
            "RecordLastUpdateInfo": "",
            "DefaultPhone": null,
            "MainAddress": null,
            "FirmAddress": null,
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "OtherPortfolio": true,
            "AvailableSubSectors": [],
            "ERPId": "",
            "ERPCode": "",
            "FirmLogo": "System.Drawing.Bitmap",
            "IsRoutineVisit": false,
            "VisitFrequency": 0,
            "FirmRiskDispatch": "0",
            "ARPAccountType": "3",
            "ARPUsesInPurchase": "1",
            "ARPUsesInImports": "1",
            "FirmRiskOrder": "0",
            "FirmRiskOrderProp": "0",
            "FirmRiskMyCs": "0",
            "FirmRiskDispatchProp": "0",
            "ARPUsesInExports": "1",
            "ARPUsesInFinance": "1",
            "FirmRiskCustomerCs": "0",
            "FirmRiskAcc": "0",
            "ARPUsesInSales": "1",
            "FirmRiskCiroCs": "0"
        }
    ],
    "AppearanceRules": []
}
Bootstrap Callout
Styleinfo
Expand
titleToplam Firma Sayısı Hesaplama

GET → /LogoCrmRest/api/v1.0/firms/count

Headers

Name

Value

Content-Type

application/json

Parameters

Name

Value

Body

#Yok

SessionId

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

Response

Code

Description

200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/firms/count",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Count": 21
}
Bootstrap Callout
Styledanger
Expand
titleFirma Silme

DELETE → /LogoCrmRest/api/v1.0/firms/{firmOid}

Headers

Name

Value

Content-Type

application/json

Parameters

Name

Value

Body

#Yok

SessionId

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

Response

Code

Description

200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/firms/45fa84b1-601b-4f23-95bb-6f14603ea9d0",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": []
}
Bootstrap Callout
Styleinfo
Expand
titleYeni Destek Kaydı İçin Örnek Json Şablonu

 GET → /LogoCrmRest/api/v1.0/tickets/new

Headers
NameValue
Content-Type
application/json




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

#Yok

Response
CodeDescription
200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/tickets/new",
        "apiVersion": "1",
        "timeStamp": "2019-07-11T11:24:49.49"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "fe8006b1-6ac4-42b5-92ae-57b713392a5e",
            "TicketId": "T-000133",
            "TicketDescription": null,
            "TicketMainCategory": null,
            "TicketSubCategory": null,
            "TicketType": null,
            "TicketFirm": null,
            "TicketContact": null,
            "Priority": 2,
            "TicketStartDate": "2019-07-11T11:24:49.432+03:00",
            "TicketCompletedDate": "1900-01-01T00:00:00",
            "TicketEstEndDate": "1900-01-01T00:00:00",
            "AssignedTo": null,
            "AssignedDepartment": null,
            "TicketState": null,
            "IsCompleted": false,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "_CreatedBy": {
                "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,
                "IsActiveRecord": true
            },
            "_CreatedDateTime": "2019-07-11T11:24:49.432+03:00",
            "_LastModifiedBy": null,
            "_LastModifiedDateTime": "1900-01-01T00:00:00",
            "RecordCreateInfo": "System Administrator, 11.07.2019 11:24",
            "RecordLastUpdateInfo": "",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": true,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "AvailableSubCategories": [],
            "AvailableTicketTypes": [],
            "FirmERPId": "",
            "IsTwitterTicket": false,
            "IsMainCase": true,
            "CaseId": "T-000133",
            "ReportDisplayName": "_T-000133_"
        }
    ],
    "AppearanceRules": []
}



Bootstrap Callout
Stylewarning
Expand
titleDestek Kaydı Ekleme

POST →  /LogoCrmRest/api/v1.0/tickets

Headers
NameValue
Content-Typeapplication/json





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

{     
           "Oid": "61111e1e-0eff-44e9-ad78-67c03821414a",
           "TicketId": "T-000134",
           "TicketDescription": null,
           "TicketMainCategory": null,
           "TicketSubCategory": null,
           "TicketType": null,
           "TicketFirm": null,
           "TicketContact": null,
           "Priority": 2,
           "TicketStartDate": "2019-07-11T13:58:59.439+03:00",
           "TicketCompletedDate": "1900-01-01T00:00:00",
           "TicketEstEndDate": "1900-01-01T00:00:00",
           "AssignedTo": null,
           "AssignedDepartment": null,
           "TicketState": {
               "Oid": "57F1728E-95C5-4B5F-85BE-B599E3FAE981"},
           "IsCompleted": false,
           "Notes": null,
           "Tags": null,
           "NotifyUsers": null,
           "_CreatedBy": {
               "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,
               "IsActiveRecord": true
           },
           "_CreatedDateTime": "2019-07-11T13:58:59.439+03:00",
           "_LastModifiedBy": null,
           "_LastModifiedDateTime": "1900-01-01T00:00:00",
           "RecordCreateInfo": "System Administrator, 11.07.2019 13:58",
           "RecordLastUpdateInfo": "",
           "IsLoading": false,
           "IsDeleted": false,
           "Loading": false,
           "IsMobile": false,
           "IsModified": true,
           "IsControllerSaving": false,
           "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
           "AvailableSubCategories": [],
           "AvailableTicketTypes": [],
           "FirmERPId": "",
           "IsTwitterTicket": false,
           "IsMainCase": true,
           "CaseId": "T-000134",
           "ReportDisplayName": "_T-000134_"
       }

Response
CodeDescription
200

{
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/tickets",
        "apiVersion": "1",
        "timeStamp": "2019-07-11T14:18:06.06"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "f2add85b-9643-4ad2-8fa2-400abe636267",
            "TicketId": "T-000134",
            "TicketDescription": null,
            "TicketStartDate": "2019-07-11T13:58:59.44",
            "TicketCompletedDate": "1900-01-01T00:00:00",
            "TicketEstEndDate": "1900-01-01T00:00:00",
            "IsCompleted": false,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "_CreatedDateTime": "2019-07-11T14:18:06.58",
            "_LastModifiedDateTime": "2019-07-11T14:18:06.627",
            "RecordCreateInfo": "System Administrator, 11.07.2019 14:18",
            "RecordLastUpdateInfo": "System Administrator, 11.07.2019 14:18",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsModified": false,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "AvailableSubCategories": [],
            "AvailableTicketTypes": [],
            "FirmERPId": "",
            "IsTwitterTicket": false,
            "IsMainCase": true,
            "ReportDisplayName": "_T-000134_"
        }
    ],
    "AppearanceRules": []
}





Bootstrap Callout
Stylewarning
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
Stylewarning
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"

}