Create. API

Enquires

Access Levels
Group: content
Resource: enquires

List all enquires

GET 	https://api.create.net/enquirys

Input

GET 	https://api.create.net/enquirys?datetime_from=2010-04-07%2018:08:14
Param Type Required Description
datetime_from datetime Optional Enquiries after a certain date
yyyy-mm-dd hh:mm:ss
datetime_to datetime Optional Enquiries up to a certain date
yyyy-mm-dd hh:mm:ss

Response

Status: 200 OK
{ "enquiries" :[
	{
		"ID" : 355766,
		"sender" : "adam@create.net",
		"subject" : "Recent order",
		"message" : "Thanks for the order, I\'m impressed with the quality. Do you also have it in Blue?",
		"datetime" : "2012-05-16 15:17:04"
	}
]}

Get a single enquiry

GET 	https://api.create.net/enquirys/:id

Response

Status: 200 OK
{ "enquiry" :
	{
		"ID" : 355766,
		"sender" : "adam@create.net",
		"subject" : "Recent order",
		"message" : "Thanks for the order, I\'m impressed with the quality. Do you also have it in Blue?",
		"datetime" : "2012-05-16 15:17:04"
	}
}

Delete an enquiry

DELETE 	https://api.create.net/enquirys/:id

Response

Status: 200 OK