POST api/appapimonthlyusage/validate
Request Information
URI Parameters
None.
Body Parameters
AppApiMonthlyUsageValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | AppApiMonthlyUsage |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| AppApiAccountId | integer |
Required |
|
| MonthDate | date |
Required |
|
| BaseCredits | integer |
Required |
|
| AddOnCredits | integer |
Required |
|
| UsedCredits | decimal number |
Required |
|
| LastUpdated | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "52f08501-63b7-4fb6-a513-eb43bbbb6378",
"AppApiAccountId": 3,
"MonthDate": "2026-09-18T10:49:27.8070919+02:00",
"BaseCredits": 5,
"AddOnCredits": 6,
"UsedCredits": 7.0,
"LastUpdated": "2026-09-18T10:49:27.8070919+02:00"
},
"Id": 2,
"RowGuid": "31368039-d0fd-4def-8c77-f848e8f576d8",
"AppApiAccountId": 4,
"MonthDate": "2026-09-18T10:49:27.8070919+02:00",
"BaseCredits": 6,
"AddOnCredits": 7,
"UsedCredits": 8.0,
"LastUpdated": "2026-09-18T10:49:27.8070919+02:00"
}
application/xml, text/xml
Sample:
<AppApiMonthlyUsageValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<AddOnCredits>7</AddOnCredits>
<AppApiAccountId>4</AppApiAccountId>
<BaseCredits>6</BaseCredits>
<Id>2</Id>
<LastUpdated>2026-09-18T10:49:27.8070919+02:00</LastUpdated>
<MonthDate>2026-09-18T10:49:27.8070919+02:00</MonthDate>
<RowGuid>31368039-d0fd-4def-8c77-f848e8f576d8</RowGuid>
<UsedCredits>8</UsedCredits>
<Reason>1</Reason>
<Rec>
<AddOnCredits>6</AddOnCredits>
<AppApiAccountId>3</AppApiAccountId>
<BaseCredits>5</BaseCredits>
<Id>1</Id>
<LastUpdated>2026-09-18T10:49:27.8070919+02:00</LastUpdated>
<MonthDate>2026-09-18T10:49:27.8070919+02:00</MonthDate>
<RowGuid>52f08501-63b7-4fb6-a513-eb43bbbb6378</RowGuid>
<UsedCredits>7</UsedCredits>
</Rec>
</AppApiMonthlyUsageValidate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorMsg | string |
None. |
|
| HintMsg | string |
None. |
|
| ErrorFieldNames | Collection of string |
None. |
|
| FieldName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMsg": "sample string 1",
"HintMsg": "sample string 2",
"ErrorFieldNames": [
"sample string 1",
"sample string 2"
],
"FieldName": "sample string 3"
}
application/xml, text/xml
Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<ErrorFieldNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorFieldNames>
<ErrorMsg>sample string 1</ErrorMsg>
<FieldName>sample string 3</FieldName>
<HintMsg>sample string 2</HintMsg>
</ValidationResult>