POST | /api/internal/dailyreport/createmany |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DailyReportList | body | List<DailyReport> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AuthSessionKey | form | string | No | |
AdditionalInfo | form | List<ItemNameValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PropertyName | form | string | No | |
PropertyValue | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TempItemId | form | string | No | |
FolderId | form | int | No | |
FolderParentId | form | int | No | |
FolderProject | form | int | No | |
FolderName | form | string | No | |
FolderDescription | form | string | No | |
DailyReportId | form | int | No | |
ReportPeriod | form | string | No | |
Temperature | form | string | No | |
Precipitation | form | string | No | |
Sky | form | string | No | |
Wind | form | string | No | |
MeDeliveries | form | string | No | |
Issues | form | string | No | |
Visitors | form | string | No | |
Dated | form | DateTime | No | |
Author | form | int | No | |
Humidity | form | string | No | |
Pressure | form | string | No | |
Visibility | form | string | No | |
Cloudcover | form | string | No | |
ObservationTime | form | string | No | |
Units | form | string | No | |
UnitDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserCanModify | form | bool | No | |
UserCanDelete | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ReturnedIdList | form | List<Dictionary<String,String>> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UiErrorMessage | form | string | No | |
UiDevErrorMessage | form | string | No | |
ErrorOccured | form | bool | No | |
LogMessageType | form | ErrorMessageType | No | |
ResponseStatus | form | ResponseStatus | No | |
NumberOfRecordsEffected | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/DailyReportCreateManyRequest HTTP/1.1
Host: api.sagecpc.com
Content-Type: application/json
Content-Length: length
{"dailyReportList":[{"tempItemId":"String","folderId":0,"folderParentId":0,"folderProject":0,"folderName":"String","folderDescription":"String","dailyReportId":0,"reportPeriod":"String","temperature":"String","precipitation":"String","sky":"String","wind":"String","meDeliveries":"String","issues":"String","visitors":"String","dated":"\/Date(-62135596800000-0000)\/","author":0,"humidity":"String","pressure":"String","visibility":"String","cloudcover":"String","observationTime":"String","units":"String","unitDescription":"String","userCanModify":false,"userCanDelete":false}],"authSessionKey":"String","additionalInfo":[{"propertyName":"String","propertyValue":"String"}]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"returnedIdList":[{"String":"String"}],"uiErrorMessage":"String","uiDevErrorMessage":"String","errorOccured":false,"logMessageType":"DEBUG","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"numberOfRecordsEffected":0}