Submit a Ticket My Tickets
Welcome
Login  Sign up

GET ScheduleTypes API Version 1

GET ScheduleTypes API V1

Updated on 2015-06-12
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP


Summary:

Returns an array of schedule types.


Resource/WSDL Page:

http://<your_domain_here>/api/1/get.asmx?op=ScheduleTypes


Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50


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

Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

 

**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/get.asmx/ScheduleTypes?api_key=3YmDJeT3VHTFhDqAjr2OlQ

 

Sample XML Response:

<schedule_types_response><success>true</success><row_count>4</row_count><schedule_types><schedule_type><schedule_type_id>0</schedule_type_id><schedule_type_name>Default</schedule_type_name></schedule_type><schedule_type><schedule_type_id>1</schedule_type_id><schedule_type_name>Exclusive</schedule_type_name></schedule_type><schedule_type><schedule_type_id>2</schedule_type_id><schedule_type_name>Multisell</schedule_type_name></schedule_type><schedule_type><schedule_type_id>3</schedule_type_id><schedule_type_name>Hybrid</schedule_type_name></schedule_type></schedule_types></schedule_types_response>


Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

 

Did you find it helpful? Yes No

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