POST api/Values/Add_SubscriptionGrants
Request Information
URI Parameters
None.
Body Parameters
SubscriptionGrants| Name | Description | Type | Additional information |
|---|---|---|---|
| GrantsID | integer |
None. |
|
| SubscriptionDDID | integer |
None. |
|
| ClientID | integer |
None. |
|
| ChildName | string |
None. |
|
| SchoolName | string |
None. |
|
| Phone | string |
None. |
|
| Guardian | string |
None. |
|
| AddressText | string |
None. |
|
| Nationality | string |
None. |
|
| Gender | integer |
None. |
|
| DateOfBirth | date |
None. |
|
| StatusID | integer |
None. |
|
| PaymentType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GrantsID": 1,
"SubscriptionDDID": 2,
"ClientID": 3,
"ChildName": "sample string 4",
"SchoolName": "sample string 5",
"Phone": "sample string 6",
"Guardian": "sample string 7",
"AddressText": "sample string 8",
"Nationality": "sample string 9",
"Gender": 10,
"DateOfBirth": "2026-08-03T01:33:22.143548+08:00",
"StatusID": 12,
"PaymentType": 13
}
text/html
Sample:
{"GrantsID":1,"SubscriptionDDID":2,"ClientID":3,"ChildName":"sample string 4","SchoolName":"sample string 5","Phone":"sample string 6","Guardian":"sample string 7","AddressText":"sample string 8","Nationality":"sample string 9","Gender":10,"DateOfBirth":"2026-08-03T01:33:22.143548+08:00","StatusID":12,"PaymentType":13}
application/xml, text/xml
Sample:
<SubscriptionGrants xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <AddressText>sample string 8</AddressText> <ChildName>sample string 4</ChildName> <ClientID>3</ClientID> <DateOfBirth>2026-08-03T01:33:22.143548+08:00</DateOfBirth> <Gender>10</Gender> <GrantsID>1</GrantsID> <Guardian>sample string 7</Guardian> <Nationality>sample string 9</Nationality> <PaymentType>13</PaymentType> <Phone>sample string 6</Phone> <SchoolName>sample string 5</SchoolName> <StatusID>12</StatusID> <SubscriptionDDID>2</SubscriptionDDID> </SubscriptionGrants>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |