/
Create a District Term
Create a District Term
Resource URI
/districtterms
HTTPS POST
/districtterms?timestamp={TimeStamp}&accesskey={AccessKey}&tag={Token}
Parameters for Request URL
The following parameters should be included in the request URL of the HTTPS POST call to create a district term.
Parameter | Required? | Data Type | Description |
---|---|---|---|
TimeStamp | Yes | DATETIME | the GMT time at which the call is generated. EXAMPLE: 5/1/2013+5:10:5+PM |
AccessKey | Yes | STRING (128) | a unique key associated with the API user. EXAMPLE: 123456789-987654321 |
Tag | Yes | STRING (128) | token generated for authorization and authentication. |
Parameters for Request Header
The following parameters may be included in the request header of the HTTPS POST call to create a district term.
Parameter | Required | Data Type | Description |
---|---|---|---|
Name | Yes | STRING (100) | the name of the district term. EXAMPLE: 2012-13 FY |
DateStart | Yes | DATETIME | the start date of the district term. EXAMPLES: 9/12/2012, 9/1/2012+12:00:00 AM |
DateEnd | Yes | DATETIME | the end date of the district term. EXAMPLES: 9/12/2012, 9/1/2012+12:00:00 AM |
Code | No | STRING (50) | the code used by some Student Information System to identify district terms. Reserved for future use. |
Make sure the DateEnd is after the DateStart.
Response
The following fields are included in the response following an HTTPS POST call to create a district term.
Field Name | Data Type | Description | Example |
---|---|---|---|
Result | STRING (10) | indicates whether the district term is created successfully. | SUCCESS ERROR |
Data | JSON/XML | returns properties of the created district term if result is SUCCESS.
Check out the District Term page to learn more about the various properties that define a district term. | See below for detailed examples. |
Error | STRING (100) | provides explanation if result is ERROR."Null" is returned if result is SUCCESS. | Click here for a list of error messages. |
Example
Create a new district term called "2013-14 Full Year" with the start date of "9/1/2013" and end date of "9/1/2014".
Navigation and Reference
, multiple selections available,