POST api/admin/store-subscription-packages
Request Information
URI Parameters
None.
Body Parameters
StoreSubscriptionPackageUpsertDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| NameAr | string |
None. |
|
| NameEn | string |
None. |
|
| DescriptionAr | string |
None. |
|
| PriceUsd | decimal number |
None. |
|
| DurationMonths | integer |
None. |
|
| SortOrder | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDefault | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"nameAr": "sample string 2",
"nameEn": "sample string 3",
"descriptionAr": "sample string 4",
"priceUsd": 5.0,
"durationMonths": 6,
"sortOrder": 7,
"isActive": true,
"isDefault": true
}
application/xml, text/xml
Sample:
<StoreSubscriptionPackageUpsertDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos"> <Code>sample string 1</Code> <DescriptionAr>sample string 4</DescriptionAr> <DurationMonths>6</DurationMonths> <IsActive>true</IsActive> <IsDefault>true</IsDefault> <NameAr>sample string 2</NameAr> <NameEn>sample string 3</NameEn> <PriceUsd>5</PriceUsd> <SortOrder>7</SortOrder> </StoreSubscriptionPackageUpsertDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.