Submit a Ticket My Tickets
Welcome
Login  Sign up

ADDEDIT BuyerContractCopyFilters API Version 1

ADDEDIT BuyerContractCopyFilters API V1

Updated on 2015-10-01
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP

 

Summary:

Returns "Buyer Contract ### Filters Copied Successfully From Buyer Contract ###"

 

Resource/WSDL Page:

http://<your_domain_here>/api/1/addedit.asmx?op=BuyerContractCopyFilters


Parameters

api_key

Required

Type: STRING

Max Length: 50 Char.

Must be a valid API key (existing and Not expired)

Example Values: Fo35NRAqvFLXoZxqB4aVMhh

from_buyer_contract_id

Required

Type: INTEGER

Max Length: N/A


ID of Buyer Contract you’re copying filters from.

Obtained via EXPORT BuyerContracts API


to_buyer_contract_id

Required

Type: INTEGER

Max Length: N/A


ID of Buyer Contract you’re copying filters to.

Obtained via EXPORT BuyerContracts API


**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 

 

Example Request

GET

https://demo-new.cakemarketing.com/api/1/addedit.asmx/BuyerContractCopyFilters?api_key=3YmDJeT3VHTFhDqAjr2OlQ&from_buyer_contract_id=1498&to_buyer_contract_id=1499 



Sample XML Response:


<buyer_contract_copy_filters_addedit_response><success>true</success><message>Buyer Contract (1499) Filters Copied Successfully From Buyer Contract (1498)</message><row_count>0</row_count></buyer_contract_copy_filters_addedit_response>



Example Error Messages:

Error Message

Likely Cause

Invalid API Key

API Key does not exist or is expired

Invalid Buyer Contract ID

buyer_contract_id is <0 or is >0, but doesn’t match an existing employee contact in CAKE.

Buyer Contracts Not In Same Vertical

The two Buyer Contracts used aren’t in the same Vertical.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.