POST api/ListClasses
Request Information
URI Parameters
None.
Body Parameters
ListClass| Name | Description | Type | Additional information |
|---|---|---|---|
| ListID | integer |
None. |
|
| ListName | string |
None. |
|
| IsMasterList | boolean |
None. |
|
| MasterListID | integer |
None. |
|
| SyncDateTime | string |
None. |
|
| SyncRemoteID | integer |
None. |
|
| IsDefault | boolean |
None. |
|
| ListNotes | string |
None. |
|
| CreatorUserID | string |
None. |
|
| UpdatedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListID": 1,
"ListName": "sample string 2",
"IsMasterList": null,
"MasterListID": null,
"SyncDateTime": "sample string 3",
"SyncRemoteID": null,
"IsDefault": null,
"ListNotes": "sample string 4",
"CreatorUserID": "sample string 5",
"UpdatedAt": null
}
application/xml, text/xml
Sample:
<ListClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService"> <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" /> <CreatorUserID>sample string 5</CreatorUserID> <IsDefault i:nil="true" /> <IsMasterList i:nil="true" /> <ListID>1</ListID> <ListName>sample string 2</ListName> <ListNotes>sample string 4</ListNotes> <MasterListID i:nil="true" /> <SyncDateTime>sample string 3</SyncDateTime> <SyncRemoteID i:nil="true" /> </ListClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ListClass| Name | Description | Type | Additional information |
|---|---|---|---|
| ListID | integer |
None. |
|
| ListName | string |
None. |
|
| IsMasterList | boolean |
None. |
|
| MasterListID | integer |
None. |
|
| SyncDateTime | string |
None. |
|
| SyncRemoteID | integer |
None. |
|
| IsDefault | boolean |
None. |
|
| ListNotes | string |
None. |
|
| CreatorUserID | string |
None. |
|
| UpdatedAt | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ListID": 1,
"ListName": "sample string 2",
"IsMasterList": null,
"MasterListID": null,
"SyncDateTime": "sample string 3",
"SyncRemoteID": null,
"IsDefault": null,
"ListNotes": "sample string 4",
"CreatorUserID": "sample string 5",
"UpdatedAt": null
}
application/xml, text/xml
Sample:
<ListClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService"> <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" /> <CreatorUserID>sample string 5</CreatorUserID> <IsDefault i:nil="true" /> <IsMasterList i:nil="true" /> <ListID>1</ListID> <ListName>sample string 2</ListName> <ListNotes>sample string 4</ListNotes> <MasterListID i:nil="true" /> <SyncDateTime>sample string 3</SyncDateTime> <SyncRemoteID i:nil="true" /> </ListClass>