Versions Compared

Key

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

...

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

{
    "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": []
}

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": []
}

...

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": []
}


Yeni Destek Kaydı İçin Örnek Json Şablonu

Expand

 /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": []
}



Destek Kaydı Ekleme

Expand

 /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": []
}