{
"SteamId": "string",
"PublishType": 1,
"Assets": [
{
"StockId": "string",
"AssetId": "string",
"SteamGameId": "string",
"TradeTypes": [
1
],
"SellPrice": 0,
"SellDescription": "string",
"RentMaxDay": 0,
"RentPrice": 0,
"LongRentPrice": 0,
"RentDeposits": 0,
"RentDescription": "string",
"ClaimType": 1,
"SupportSublet": 0,
"SubletSellerFreeRentDay": 0
}
],
"PartnerId": "string",
"Timestamp": "string",
"Sign": "string",
"ServiceProviderId": "string",
"OpenID": "string"
}curl --location --request POST 'https://openapi.ecosteam.cn/Api/Rent/PublishRentAndSaleGoods' \
--header 'language;' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
"SteamId": "string",
"PublishType": 1,
"Assets": [
{
"StockId": "string",
"AssetId": "string",
"SteamGameId": "string",
"TradeTypes": [
1
],
"SellPrice": 0,
"SellDescription": "string",
"RentMaxDay": 0,
"RentPrice": 0,
"LongRentPrice": 0,
"RentDeposits": 0,
"RentDescription": "string",
"ClaimType": 1,
"SupportSublet": 0,
"SubletSellerFreeRentDay": 0
}
],
"PartnerId": "string",
"Timestamp": "string",
"Sign": "string",
"ServiceProviderId": "string",
"OpenID": "string"
}'{
"ResultCode": "string",
"ResultMsg": "string",
"ResultData": [
{
"StockId": "string",
"AssetId": "string",
"IsSuccess": true,
"ErrorMsg": "string",
"GoodNum": "string",
"Items": [
{
"GoodsNum": "string",
"TradeType": 1
}
]
}
]
}