Don't forget to also pop us an email with what you have created. We intend to feature some exciting projects you create on the Syncode site. So please feel free to email us with what you have created, any feedback you have on the API, any errors you find or to just say hi. api@syncode.co.uk Created to check username & password credentials and hence will return a success variable of 1 for logged in or 0 for failed to login.
Response: XML example
Parameters:
Synotes REST API (beta):
The Synotes REST API is created to give application developers the ability to write applications that interact with Synotes.Don't forget to also pop us an email with what you have created. We intend to feature some exciting projects you create on the Syncode site. So please feel free to email us with what you have created, any feedback you have on the API, any errors you find or to just say hi. api@syncode.co.uk Created to check username & password credentials and hence will return a success variable of 1 for logged in or 0 for failed to login.
URL:
https://www.syncode.co.uk/synotesapi/login.format
Formats:
xml or json
HTTP Method(s):
GET
Requires Authentication:
Yes
Parameters:
none
<xml version="1.0">
<message>Your username and password is correct.</message>
<success>1</success>
</xml>
Possible Errors:
01 - Username/Password is incorrect.
Usage examples:
cURL:
curl -u user:password https://www.syncode.co.uk/synotesapi/login.xml
Returns a feed of all the authenticated users notes.curl -u user:password https://www.syncode.co.uk/synotesapi/login.xml
URL:
https://www.syncode.co.uk/synotesapi/load_notes.format
Formats:
xml or json
HTTP Method(s):
GET
Requires Authentication:
Yes
none
<xml version="1.0">
<notes>
</xml>
<note>
<note_uuid>
NOTE-ACD8C9FC-B985-49FB-ACDB-24B17D35E149-135E149-00DB24B17D35E148
</note_uuid>
<note_title>My Holiday</note_title>
<note_text>I need to pack.</note_text>
<note_icon>default</note_icon>
<created>1262414672</created>
<last_updated>1262792970</last_updated>
<order>1</order>
</note><note_text>I need to pack.</note_text>
<note_icon>default</note_icon>
<created>1262414672</created>
<last_updated>1262792970</last_updated>
<order>1</order>
<note>
</notes>
<note_uuid>
NOTE-61340B22-317F-4B08-97AE-C7B50006FF6E-26904-0000FEB8BF7EDD7D </note_uuid>
<note_title>Shopping List</note_title>
<note_text>1. iPhone</note_text>
<note_icon>network_error</note_icon>
<created>1262334642</created>
<last_updated>1262626634</last_updated>
<order>2</order>
</note>NOTE-61340B22-317F-4B08-97AE-C7B50006FF6E-26904-0000FEB8BF7EDD7D </note_uuid>
<note_title>Shopping List</note_title>
<note_text>1. iPhone</note_text>
<note_icon>network_error</note_icon>
<created>1262334642</created>
<last_updated>1262626634</last_updated>
<order>2</order>
Possible Errors:
01 - Username/Password is incorrect.
Usage examples:
cURL:
curl -u user:password https://www.syncode.co.uk/synotesapi/load_notes.xml
Saves/updates a note into the Synotes database and returns the updated note.curl -u user:password https://www.syncode.co.uk/synotesapi/load_notes.xml
URL:
https://www.syncode.co.uk/synotesapi/save_note.format
Formats:
xml or json
HTTP Method(s):
GET or POST
Requires Authentication:
Yes




