POST api/NFT/UpdateNFTData
Request Information
URI Parameters
None.
Body Parameters
NFTDataUpdateRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| nftMetadata | NFTMetadataUpdateRequestModel |
None. |
|
| IsUnlockableContent | integer |
Required |
|
| UnlockableContent | string |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{
"nftMetadata": {
"nftid": 1,
"properties": [
{
"propertyID": 1,
"traitTypeID": 1,
"propertyName": "sample string 2",
"propertyValue": "sample string 3"
},
{
"propertyID": 1,
"traitTypeID": 1,
"propertyName": "sample string 2",
"propertyValue": "sample string 3"
}
],
"levels": [
{
"levelID": 1,
"traitTypeID": 1,
"levelName": "sample string 2",
"minValue": 1,
"maxValue": 1
},
{
"levelID": 1,
"traitTypeID": 1,
"levelName": "sample string 2",
"minValue": 1,
"maxValue": 1
}
],
"stats": [
{
"statID": 1,
"traitTypeID": 1,
"statName": "sample string 2",
"minValue": 1,
"maxValue": 1
},
{
"statID": 1,
"traitTypeID": 1,
"statName": "sample string 2",
"minValue": 1,
"maxValue": 1
}
],
"boosts": [
{
"boostID": 1,
"name": "sample string 2",
"type": 3,
"parcentageValue": 1,
"minValue": 1,
"maxValue": 1
},
{
"boostID": 1,
"name": "sample string 2",
"type": 3,
"parcentageValue": 1,
"minValue": 1,
"maxValue": 1
}
],
"dates": [
{
"dateID": 1,
"name": "sample string 2",
"dateValue": "2026-11-29T14:14:08.0585756+00:00"
},
{
"dateID": 1,
"name": "sample string 2",
"dateValue": "2026-11-29T14:14:08.0585756+00:00"
}
]
},
"isUnlockableContent": 1,
"unlockableContent": "sample string 2"
}
application/xml, text/xml
Sample:
<NFTDataUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel">
<IsUnlockableContent>1</IsUnlockableContent>
<UnlockableContent>sample string 2</UnlockableContent>
<nftMetadata>
<Boosts>
<NFTBoostDetailsRequestModel>
<BoostID>1</BoostID>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<Name>sample string 2</Name>
<ParcentageValue>1</ParcentageValue>
<Type>3</Type>
</NFTBoostDetailsRequestModel>
<NFTBoostDetailsRequestModel>
<BoostID>1</BoostID>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<Name>sample string 2</Name>
<ParcentageValue>1</ParcentageValue>
<Type>3</Type>
</NFTBoostDetailsRequestModel>
</Boosts>
<Dates>
<NFTDateDetailsRequestModel>
<DateID>1</DateID>
<DateValue>2026-11-29T14:14:08.0585756+00:00</DateValue>
<Name>sample string 2</Name>
</NFTDateDetailsRequestModel>
<NFTDateDetailsRequestModel>
<DateID>1</DateID>
<DateValue>2026-11-29T14:14:08.0585756+00:00</DateValue>
<Name>sample string 2</Name>
</NFTDateDetailsRequestModel>
</Dates>
<Levels>
<NFTLevelDetailsRequestModel>
<LevelID>1</LevelID>
<LevelName>sample string 2</LevelName>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<TraitTypeID>1</TraitTypeID>
</NFTLevelDetailsRequestModel>
<NFTLevelDetailsRequestModel>
<LevelID>1</LevelID>
<LevelName>sample string 2</LevelName>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<TraitTypeID>1</TraitTypeID>
</NFTLevelDetailsRequestModel>
</Levels>
<NFTID>1</NFTID>
<Properties>
<NFTPropertiesDetailsRequestModel>
<PropertyID>1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>sample string 3</PropertyValue>
<TraitTypeID>1</TraitTypeID>
</NFTPropertiesDetailsRequestModel>
<NFTPropertiesDetailsRequestModel>
<PropertyID>1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>sample string 3</PropertyValue>
<TraitTypeID>1</TraitTypeID>
</NFTPropertiesDetailsRequestModel>
</Properties>
<Stats>
<NFTStatDetailsRequestModel>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<StatID>1</StatID>
<StatName>sample string 2</StatName>
<TraitTypeID>1</TraitTypeID>
</NFTStatDetailsRequestModel>
<NFTStatDetailsRequestModel>
<MaxValue>1</MaxValue>
<MinValue>1</MinValue>
<StatID>1</StatID>
<StatName>sample string 2</StatName>
<TraitTypeID>1</TraitTypeID>
</NFTStatDetailsRequestModel>
</Stats>
</nftMetadata>
</NFTDataUpdateRequestModel>
multipart/form-data
Sample:
<NFTDataUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel"><IsUnlockableContent>1</IsUnlockableContent><UnlockableContent>sample string 2</UnlockableContent><nftMetadata><Boosts><NFTBoostDetailsRequestModel><BoostID>1</BoostID><MaxValue>1</MaxValue><MinValue>1</MinValue><Name>sample string 2</Name><ParcentageValue>1</ParcentageValue><Type>3</Type></NFTBoostDetailsRequestModel><NFTBoostDetailsRequestModel><BoostID>1</BoostID><MaxValue>1</MaxValue><MinValue>1</MinValue><Name>sample string 2</Name><ParcentageValue>1</ParcentageValue><Type>3</Type></NFTBoostDetailsRequestModel></Boosts><Dates><NFTDateDetailsRequestModel><DateID>1</DateID><DateValue>2026-11-29T14:14:08.0585756+00:00</DateValue><Name>sample string 2</Name></NFTDateDetailsRequestModel><NFTDateDetailsRequestModel><DateID>1</DateID><DateValue>2026-11-29T14:14:08.0585756+00:00</DateValue><Name>sample string 2</Name></NFTDateDetailsRequestModel></Dates><Levels><NFTLevelDetailsRequestModel><LevelID>1</LevelID><LevelName>sample string 2</LevelName><MaxValue>1</MaxValue><MinValue>1</MinValue><TraitTypeID>1</TraitTypeID></NFTLevelDetailsRequestModel><NFTLevelDetailsRequestModel><LevelID>1</LevelID><LevelName>sample string 2</LevelName><MaxValue>1</MaxValue><MinValue>1</MinValue><TraitTypeID>1</TraitTypeID></NFTLevelDetailsRequestModel></Levels><NFTID>1</NFTID><Properties><NFTPropertiesDetailsRequestModel><PropertyID>1</PropertyID><PropertyName>sample string 2</PropertyName><PropertyValue>sample string 3</PropertyValue><TraitTypeID>1</TraitTypeID></NFTPropertiesDetailsRequestModel><NFTPropertiesDetailsRequestModel><PropertyID>1</PropertyID><PropertyName>sample string 2</PropertyName><PropertyValue>sample string 3</PropertyValue><TraitTypeID>1</TraitTypeID></NFTPropertiesDetailsRequestModel></Properties><Stats><NFTStatDetailsRequestModel><MaxValue>1</MaxValue><MinValue>1</MinValue><StatID>1</StatID><StatName>sample string 2</StatName><TraitTypeID>1</TraitTypeID></NFTStatDetailsRequestModel><NFTStatDetailsRequestModel><MaxValue>1</MaxValue><MinValue>1</MinValue><StatID>1</StatID><StatName>sample string 2</StatName><TraitTypeID>1</TraitTypeID></NFTStatDetailsRequestModel></Stats></nftMetadata></NFTDataUpdateRequestModel>
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>