POST api/ProductAdmin/updateCardSetting
“updateCardSetting”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| card | “card”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductId": 2,
"CardName": "sample string 3",
"Money": 4.0,
"Quantity": 5,
"EndTime": "2025-12-29T19:59:40.1591799+08:00",
"EndDay": 6,
"CreateTime": "sample string 7",
"ShowEndTime": "sample string 8",
"CardType": 9,
"CardTypeShow": "sample string 10",
"PlatformId": 11,
"Code": "sample string 12"
}
application/xml, text/xml
Sample:
<CardSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <CardName>sample string 3</CardName> <CardType>9</CardType> <CardTypeShow>sample string 10</CardTypeShow> <Code>sample string 12</Code> <CreateTime>sample string 7</CreateTime> <EndDay>6</EndDay> <EndTime>2025-12-29T19:59:40.1591799+08:00</EndTime> <Id>1</Id> <Money>4</Money> <PlatformId>11</PlatformId> <ProductId>2</ProductId> <Quantity>5</Quantity> <ShowEndTime>sample string 8</ShowEndTime> </CardSettingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Success": 1,
"Message": "sample string 2",
"DataId": "sample string 3",
"Uid": "sample string 4",
"UserId": 5
}
application/xml, text/xml
Sample:
<ReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 3</DataId> <Message>sample string 2</Message> <Success>1</Success> <Uid>sample string 4</Uid> <UserId>5</UserId> </ReturnModel>