Skip to content

Instantly share code, notes, and snippets.

@wishpot
wishpot / UserPicture.xml
Created October 27, 2011 03:02
UserPicture Resource
<UserPicture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.wishpot.com/restapi">
<Id>31</Id>
<Format0>jpg</Format0>
<Width0>50</Width0>
<Height0>37</Height0>
<FileId0>463d8f0b</FileId0>
<StoredPictureId0>31</StoredPictureId0>
<CalculatedUrl0>
https://main_test_wishpot_com.s3.amazonaws.com/SP1_31.jpg
</CalculatedUrl0>
@wishpot
wishpot / UserMessage.xml
Created November 11, 2011 00:46
UserMessage Resource
<?xml version="1.0" encoding="utf-16" ?>
- <UserMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wishpot.com/restapi">
<Id>2</Id>
<ProductId>1</ProductId>
<SenderUserId>5</SenderUserId>
<Subject>Dog Bones</Subject>
<Body>I want to buy that dog bone.</Body>
<CreatedTime>2011-11-11T05:15:31.317</CreatedTime>
- <MessageRecipients>
- <MessageRecipient>
@wishpot
wishpot / UserMailbox.xml
Created November 11, 2011 05:30
UserMailbox Resource
<?xml version="1.0" encoding="utf-16" ?>
- <UserMailbox xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wishpot.com/restapi">
<UserId>4</UserId>
<MessageId>2</MessageId>
<MessageType>1</MessageType>
<FolderType>2</FolderType>
<Status>1</Status>
<NotificationPending>true</NotificationPending>
- <UserMessage>
<Id>2</Id>
@wishpot
wishpot / UserDevice.xml
Created November 27, 2011 01:40
UserDevice Resource
<UserDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wishpot.com/restapi">
<Id>1</Id>
<UserId>3</UserId>
<DeviceId>5555f6e1af8f070b81baf71f0bb66ece1111a3b9</DeviceId>
<PushToken>fe58fc8f527c363d1b775dca133e04bff24dc5032d08836992395cc56bfa62ef</PushToken>
<UpdateCount>0</UpdateCount>
<Name>Erica's iPhone</Name>
<Model>iPhone 4</Model>
<Version>5.0.1</Version>
<CreatedTime>2011-12-02T23:50:01.258827Z</CreatedTime>