POST api/v1/creditbundles
Request Information
URI Parameters
None.
Body Parameters
CreditBundleDtoName | Description | Type | Additional information |
---|---|---|---|
Amount | integer |
None. |
|
LeftAmount | integer |
None. |
|
PurchaDate | date |
None. |
|
ExpirationDate | date |
None. |
|
UnitPrice | decimal number |
None. |
|
Type | CreditBundleType |
None. |
|
OrganizationCode | string |
None. |
|
Name | string |
None. |
|
TotalPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1, "leftAmount": 1, "purchaDate": "2025-08-31T08:53:17.5185746+00:00", "expirationDate": "2025-08-31T08:53:17.5185746+00:00", "unitPrice": 2.1, "type": 0, "organizationCode": "sample string 3", "name": "sample string 4", "totalPrice": 1.1 }
application/xml, text/xml
Sample:
<CreditBundleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <Amount>1</Amount> <ExpirationDate>2025-08-31T08:53:17.5185746+00:00</ExpirationDate> <LeftAmount>1</LeftAmount> <Name>sample string 4</Name> <OrganizationCode>sample string 3</OrganizationCode> <PurchaDate>2025-08-31T08:53:17.5185746+00:00</PurchaDate> <TotalPrice>1.1</TotalPrice> <Type>Sms</Type> <UnitPrice>2.1</UnitPrice> </CreditBundleDto>
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.