POST api/GalleryWallMapping
Request Information
URI Parameters
None.
Body Parameters
GalleryWallMappingSaveRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GalleryID | integer |
Required |
|
| GalleryBasketID | integer |
Required |
|
| ItemType | integer |
Required |
|
| IsCreatedByCustomer | integer |
None. |
|
| GalleryItemID | integer |
Required |
|
| GalleryWallIndex | integer |
Required |
|
| WallItems | Collection of GalleryWallMappingItemRequestModel |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{
"galleryID": 1,
"galleryBasketID": 2,
"itemType": 3,
"isCreatedByCustomer": 1,
"galleryItemID": 4,
"galleryWallIndex": 5,
"wallItems": [
{
"itemID": 1,
"wallIndex": 2
},
{
"itemID": 1,
"wallIndex": 2
}
]
}
application/xml, text/xml
Sample:
<GalleryWallMappingSaveRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel">
<GalleryBasketID>2</GalleryBasketID>
<GalleryID>1</GalleryID>
<GalleryItemID>4</GalleryItemID>
<GalleryWallIndex>5</GalleryWallIndex>
<IsCreatedByCustomer>1</IsCreatedByCustomer>
<ItemType>3</ItemType>
<WallItems>
<GalleryWallMappingItemRequestModel>
<ItemID>1</ItemID>
<WallIndex>2</WallIndex>
</GalleryWallMappingItemRequestModel>
<GalleryWallMappingItemRequestModel>
<ItemID>1</ItemID>
<WallIndex>2</WallIndex>
</GalleryWallMappingItemRequestModel>
</WallItems>
</GalleryWallMappingSaveRequestModel>
multipart/form-data
Sample:
<GalleryWallMappingSaveRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel"><GalleryBasketID>2</GalleryBasketID><GalleryID>1</GalleryID><GalleryItemID>4</GalleryItemID><GalleryWallIndex>5</GalleryWallIndex><IsCreatedByCustomer>1</IsCreatedByCustomer><ItemType>3</ItemType><WallItems><GalleryWallMappingItemRequestModel><ItemID>1</ItemID><WallIndex>2</WallIndex></GalleryWallMappingItemRequestModel><GalleryWallMappingItemRequestModel><ItemID>1</ItemID><WallIndex>2</WallIndex></GalleryWallMappingItemRequestModel></WallItems></GalleryWallMappingSaveRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CommonResponseDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnID | integer |
Required |
|
| Message | string |
Required |
|
| Successful | boolean |
Required |
|
| Code | integer |
None. |
|
| TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel"> <Code>4</Code> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> <TotalRecord>5</TotalRecord> </CommonResponseDataModel>
multipart/form-data
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>