POST api/Credits/AdjustCredits
Request Information
URI Parameters
None.
Body Parameters
CreditAdjustmentRequestVMName | Description | Type | Additional information |
---|---|---|---|
ParentAccountId | string |
Required |
|
AdminUserId | string |
Required |
|
IsAddOperation | boolean |
None. |
|
AddCredits | AddCreditsRequestVM |
None. |
|
CreditsToDeduct | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "ParentAccountId": "sample string 1", "AdminUserId": "sample string 2", "IsAddOperation": true, "AddCredits": { "Credits": 1.0, "ExpiryDate": "2024-11-21T08:37:56.9938572+00:00", "ReasonType": "None", "Reason": "sample string 2", "IsExpirationSet": true }, "CreditsToDeduct": 4.0 }
application/xml, text/xml
Sample:
<CreditAdjustmentRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CreditRequestVM"> <AddCredits> <Credits>1</Credits> <ExpiryDate>2024-11-21T08:37:56.9938572+00:00</ExpiryDate> <IsExpirationSet>true</IsExpirationSet> <Reason>sample string 2</Reason> <ReasonType>None</ReasonType> </AddCredits> <AdminUserId>sample string 2</AdminUserId> <CreditsToDeduct>4</CreditsToDeduct> <IsAddOperation>true</IsAddOperation> <ParentAccountId>sample string 1</ParentAccountId> </CreditAdjustmentRequestVM>
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.