POST api/AccountEmailPatterns
Request Information
URI Parameters
None.
Body Parameters
AccountEmailPatternEntityName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
accountId | integer |
None. |
|
emailPattern | string |
None. |
|
Account | AccountEntity |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "accountId": 2, "emailPattern": "sample string 3", "account": { "id": 1, "accountTypeId": 1, "accountName": "sample string 2", "numStudentLicenses": 3, "numTeacherLicenses": 1, "stateId": 1, "standardTypeId": 1, "isAdminAccount": true, "usedTeacherLicenses": 5, "missionControlEnabled": true, "allowUserCreation": false, "subjects": [ { "id": 1, "text": "sample string 2", "gradeLevels": [ { "id": 1, "description": "sample string 2", "code": "sample string 3", "gradeLevelOrder": 1 }, { "id": 1, "description": "sample string 2", "code": "sample string 3", "gradeLevelOrder": 1 } ], "endDate": "2024-12-10T05:00:33.0055701Z" }, { "id": 1, "text": "sample string 2", "gradeLevels": [ { "id": 1, "description": "sample string 2", "code": "sample string 3", "gradeLevelOrder": 1 }, { "id": 1, "description": "sample string 2", "code": "sample string 3", "gradeLevelOrder": 1 } ], "endDate": "2024-12-10T05:00:33.0055701Z" } ] } }
application/xml, text/xml
Sample:
<AccountEmailPatternEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OHS.TLMClassroomResponder.BusinessEntity"> <Account> <AccountName>sample string 2</AccountName> <AccountTypeId>1</AccountTypeId> <Id>1</Id> <IsAdminAccount>true</IsAdminAccount> <MissionControlEnabled>true</MissionControlEnabled> <NumStudentLicenses>3</NumStudentLicenses> <NumTeacherLicenses>1</NumTeacherLicenses> <StandardTypeId>1</StandardTypeId> <StateId>1</StateId> <Subjects> <SubjectEntity> <endDate>2024-12-10T00:00:33.0055701-05:00</endDate> <gradeLevels> <GradeLevelCodeEntity> <code>sample string 3</code> <description>sample string 2</description> <gradeLevelOrder>1</gradeLevelOrder> <id>1</id> </GradeLevelCodeEntity> <GradeLevelCodeEntity> <code>sample string 3</code> <description>sample string 2</description> <gradeLevelOrder>1</gradeLevelOrder> <id>1</id> </GradeLevelCodeEntity> </gradeLevels> <id>1</id> <text>sample string 2</text> </SubjectEntity> <SubjectEntity> <endDate>2024-12-10T00:00:33.0055701-05:00</endDate> <gradeLevels> <GradeLevelCodeEntity> <code>sample string 3</code> <description>sample string 2</description> <gradeLevelOrder>1</gradeLevelOrder> <id>1</id> </GradeLevelCodeEntity> <GradeLevelCodeEntity> <code>sample string 3</code> <description>sample string 2</description> <gradeLevelOrder>1</gradeLevelOrder> <id>1</id> </GradeLevelCodeEntity> </gradeLevels> <id>1</id> <text>sample string 2</text> </SubjectEntity> </Subjects> <UsedTeacherLicenses>5</UsedTeacherLicenses> </Account> <accountId>2</accountId> <emailPattern>sample string 3</emailPattern> <id>1</id> </AccountEmailPatternEntity>
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.