POST api/Calendar/AddEventStandards?allInstances={allInstances}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| allInstances | boolean |
Default value is False |
Body Parameters
StandardsUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| eventId | integer |
None. |
|
| standards | Collection of integer |
None. |
|
| userId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventId": 1,
"standards": [
1,
2
],
"userId": "22cffb8e-a88b-4724-b006-cb9388563be4"
}
application/xml, text/xml
Sample:
<StandardsUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CurriculumCrafter.Data">
<eventId>1</eventId>
<standards xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</standards>
<userId>22cffb8e-a88b-4724-b006-cb9388563be4</userId>
</StandardsUpdateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>