POST api/v1/Distribute/PutAssignedClasses
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
UpdateCriteriaName | Description | Type | Additional information |
---|---|---|---|
ClassIds | Collection of integer |
None. |
|
ProgramIds | Collection of integer |
None. |
|
FromDate | string |
None. |
|
ToDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClassIds": [ 1, 2 ], "ProgramIds": [ 1, 2 ], "FromDate": "sample string 1", "ToDate": "sample string 2" }
text/html
Sample:
{"ClassIds":[1,2],"ProgramIds":[1,2],"FromDate":"sample string 1","ToDate":"sample string 2"}
text/xml
Sample:
<UpdateCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Entities.Model"> <ClassIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ClassIds> <FromDate>sample string 1</FromDate> <ProgramIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ProgramIds> <ToDate>sample string 2</ToDate> </UpdateCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, text/xml
Sample:
Sample not available.