POST api/AdminServices/SendJasperactiveTeacherCodeEmail
SendJasperactiveTeacherCodeEmail.
Request Information
URI Parameters
None.
Body Parameters
CreatePartnerPost| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Name of the partner to be created |
string |
None. |
| Country |
Operating Country for the partner. Defaults to USA |
string |
None. |
| State | string |
None. |
|
| LicenseIds | Collection of integer |
None. |
|
| UserName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Password | string |
None. |
|
| CustomerId | string |
None. |
|
| SectorId | integer |
None. |
|
| LangId | integer |
None. |
|
| Key |
Key to Access API provided by GMetrix |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Country": "sample string 2",
"State": "sample string 3",
"LicenseIds": [
1,
2
],
"UserName": "sample string 4",
"FirstName": "sample string 5",
"LastName": "sample string 6",
"Password": "sample string 7",
"CustomerId": "sample string 8",
"SectorId": 9,
"LangId": 10,
"Key": "sample string 11"
}
application/xml, text/xml
Sample:
<CreatePartnerPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ManagementServicesApi.Models">
<Key>sample string 11</Key>
<Country>sample string 2</Country>
<CustomerId>sample string 8</CustomerId>
<FirstName>sample string 5</FirstName>
<LangId>10</LangId>
<LastName>sample string 6</LastName>
<LicenseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</LicenseIds>
<Name>sample string 1</Name>
<Password>sample string 7</Password>
<SectorId>9</SectorId>
<State>sample string 3</State>
<UserName>sample string 4</UserName>
</CreatePartnerPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Success| Name | Description | Type | Additional information |
|---|---|---|---|
| Successful | boolean |
None. |
|
| MsgSuccess | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Successful": true,
"MsgSuccess": "sample string 2"
}
application/xml, text/xml
Sample:
<Success xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ManagementServices.Repositories.Response"> <MsgSuccess>sample string 2</MsgSuccess> <Successful>true</Successful> </Success>