StratusVue API Services Internal

<back to all web services

DailyReportCreateManyRequest

Internal API: Create Daily.

The following routes are available for this service:
POST/api/internal/dailyreport/createmany
DailyReportCreateManyRequest Parameters:
NameParameterData TypeRequiredDescription
DailyReportListbodyList<DailyReport>No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
AuthSessionKeyformstringNo
AdditionalInfoformList<ItemNameValue>No
ItemNameValue Parameters:
NameParameterData TypeRequiredDescription
PropertyNameformstringNo
PropertyValueformstringNo
DailyReport Parameters:
NameParameterData TypeRequiredDescription
TempItemIdformstringNo
FolderIdformintNo
FolderParentIdformintNo
FolderProjectformintNo
FolderNameformstringNo
FolderDescriptionformstringNo
DailyReportIdformintNo
ReportPeriodformstringNo
TemperatureformstringNo
PrecipitationformstringNo
SkyformstringNo
WindformstringNo
MeDeliveriesformstringNo
IssuesformstringNo
VisitorsformstringNo
DatedformDateTimeNo
AuthorformintNo
HumidityformstringNo
PressureformstringNo
VisibilityformstringNo
CloudcoverformstringNo
ObservationTimeformstringNo
UnitsformstringNo
UnitDescriptionformstringNo
FolderBase Parameters:
NameParameterData TypeRequiredDescription
UserCanModifyformboolNo
UserCanDeleteformboolNo
DailyReportCreateManyResponse Parameters:
NameParameterData TypeRequiredDescription
ReturnedIdListformList<Dictionary<String,String>>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
UiErrorMessageformstringNo
UiDevErrorMessageformstringNo
ErrorOccuredformboolNo
LogMessageTypeformErrorMessageTypeNo
ResponseStatusformResponseStatusNo
NumberOfRecordsEffectedformintNo

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

HTTP + JSON

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.sampson.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}