Page History
Logo CRM Rest Service
Kullanıcı Girişi
/LogoCRMRest/api/v1.0/login
/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/)
|
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 } |
Kullanıcı Listesi
/LogoCrmRest/api/v1.0/users
/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 } ] } |
Kullanıcı Silme
/LogoCrmRest/api/v1.0/users/{userOid}
/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": [] } |
Teklif Listeleme
/LogoCrmRest/api/v1.0/proposals
/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" } |
Yeni Teklif İçin Örnek Json Şablonu
/LogoCrmRest/api/v1.0/proposals/new
/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": [] } |
Teklif Ekleme
/LogoCrmRest/api/v1.0/proposals
/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 | { "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": [] } |
Yeni Teklif Ürünü İçin Örnek Json Şablonu
/LogoCrmRest/api/v1.0/proposalProducts/new
/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": [] } |
Teklife Ürün Ekleme
/LogoCrmRest/api/v1.0/proposals/addproduct/{proposalOid}/{productOid}
/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": { ... ... } ] } |
Teklif Ürününü Güncelleme
/LogoCRMRest/api/v1.0/proposals/updateProduct/{proposalOid}
/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": "" } ..... ] } |
Teklif Silme
/LogoCRMRest/api/v1.0/proposals/{proposalOid}
/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": [] } |
Teklif Ürününün Silinmesi
/LogoCRMRest/api/v1.0/proposals/removeProduct/{proposalOid}/{proposalProductOid}
/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": [] } |
Teklif Ürünü Listeleme
/LogoCRMRest/api/v1.0/proposalProducts
/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" } ] } |
Firma Listeleme
/LogoCrmRest/api/v1.0/firms
/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 }, .... ] } |
Yeni Firma İçin Örnek Json Şablonu
/LogoCrmRest/api/v1.0/firms/new
/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": [] } |
Toplam Firma Sayısı Hesaplama
/LogoCrmRest/api/v1.0/firms/count
/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 } |
Firma Silme
/LogoCrmRest/api/v1.0/firms/{firmOid}
/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": [] } |