POST api/MetaGallery

Request Information

URI Parameters

None.

Body Parameters

MetaGalleryInsertUpdateRequestModel
NameDescriptionTypeAdditional information
GalleryID

integer

None.

GalleryCode

string

Required

GalleryName

string

Required

GalleryDescription

string

None.

GalleryIndustryTypeID

integer

None.

WallCount

integer

None.

AdsBoxCount

integer

None.

CollectionID

integer

None.

IsPrivate

integer

None.

GalleryPassword

string

None.

IsActive

integer

None.

IsCreatedByCustomer

integer

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "galleryID": 1,
  "galleryCode": "sample string 1",
  "galleryName": "sample string 2",
  "galleryDescription": "sample string 3",
  "galleryIndustryTypeID": 1,
  "wallCount": 1,
  "adsBoxCount": 1,
  "collectionID": 1,
  "isPrivate": 1,
  "galleryPassword": "sample string 4",
  "isActive": 5,
  "isCreatedByCustomer": 1
}

application/xml, text/xml

Sample:
<MetaGalleryInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel">
  <AdsBoxCount>1</AdsBoxCount>
  <CollectionID>1</CollectionID>
  <GalleryCode>sample string 1</GalleryCode>
  <GalleryDescription>sample string 3</GalleryDescription>
  <GalleryID>1</GalleryID>
  <GalleryIndustryTypeID>1</GalleryIndustryTypeID>
  <GalleryName>sample string 2</GalleryName>
  <GalleryPassword>sample string 4</GalleryPassword>
  <IsActive>5</IsActive>
  <IsCreatedByCustomer>1</IsCreatedByCustomer>
  <IsPrivate>1</IsPrivate>
  <WallCount>1</WallCount>
</MetaGalleryInsertUpdateRequestModel>

multipart/form-data

Sample:
<MetaGalleryInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel"><AdsBoxCount>1</AdsBoxCount><CollectionID>1</CollectionID><GalleryCode>sample string 1</GalleryCode><GalleryDescription>sample string 3</GalleryDescription><GalleryID>1</GalleryID><GalleryIndustryTypeID>1</GalleryIndustryTypeID><GalleryName>sample string 2</GalleryName><GalleryPassword>sample string 4</GalleryPassword><IsActive>5</IsActive><IsCreatedByCustomer>1</IsCreatedByCustomer><IsPrivate>1</IsPrivate><WallCount>1</WallCount></MetaGalleryInsertUpdateRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MetaGalleryInsertUpdateRequestModel'.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional 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>