POST v3/facility/updatefacility
save facility
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inVO | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "facilityVO": { "lat": "sample string 1", "lon": "sample string 2", "isFacility": true, "location": { "facilityId": "sample string 1", "facilityName": "sample string 2", "location": "sample string 3", "hours": "sample string 4", "lat": "sample string 5", "lon": "sample string 6", "locationImgPathFull": "sample string 7", "description": "sample string 8" }, "openHoursVO": [ { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" }, { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" }, { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" } ], "showEditHours": true, "autoOpenType": 5, "specificOpenDateTime": { "date": "sample string 1", "time": "sample string 2" }, "showSendRainOutAlertPanel": true, "rainOutAlertNote": "sample string 7", "rainOutSendTo": "sample string 8", "id": "sample string 9", "name": "sample string 10", "bannerImage": "sample string 11", "recordCountsEnabled": true, "status": 13, "isSchoolAdmin": true, "uploadFolder": "sample string 15", "calculatedStatus": 16, "statusNote": "sample string 17", "address": "sample string 18", "isOffice": true, "phone": "sample string 20", "description": "sample string 21" }, "networkId": "sample string 1", "belongedSurfaceList": [ { "id": "sample string 1", "name": "sample string 2", "status": 3, "autoOpenType": 4, "specificOpenDateTime": { "date": "sample string 1", "time": "sample string 2" }, "showSendRainOutAlertPanel": true, "rainOutAlertNote": "sample string 6", "rainOutSendTo": "sample string 7" }, { "id": "sample string 1", "name": "sample string 2", "status": 3, "autoOpenType": 4, "specificOpenDateTime": { "date": "sample string 1", "time": "sample string 2" }, "showSendRainOutAlertPanel": true, "rainOutAlertNote": "sample string 6", "rainOutSendTo": "sample string 7" }, { "id": "sample string 1", "name": "sample string 2", "status": 3, "autoOpenType": 4, "specificOpenDateTime": { "date": "sample string 1", "time": "sample string 2" }, "showSendRainOutAlertPanel": true, "rainOutAlertNote": "sample string 6", "rainOutSendTo": "sample string 7" } ], "curUserId": "sample string 2", "isSSO": true, "requestHost": "sample string 4", "applicationPath": "sample string 5", "secureApplicationPath": "sample string 6", "absoluteApplicationPath": "sample string 7", "isHttps": true, "isMobileDevice": true, "isFullEmbed": true, "clientType": 0, "clientVersion": "sample string 11", "clientOS": "sample string 12", "clientBuild": "sample string 13", "premiumAppId": "sample string 14", "clientWidth": 15, "clientHeight": 16, "timezone": 17 }
application/xml, text/xml
Sample:
<SaveFacilityInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.Network"> <ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">16</ClientHeight> <ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType> <ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">15</ClientWidth> <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 7</absoluteApplicationPath> <applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 5</applicationPath> <cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey> <clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 13</clientBuild> <clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 12</clientOS> <clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 11</clientVersion> <curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 2</curUserId> <isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed> <isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps> <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice> <isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO> <premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 14</premiumAppId> <requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 4</requestHost> <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 6</secureApplicationPath> <timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">17</timezone> <BelongedSurfaceList xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Network"> <d2p1:FacilitySurfaceVO> <d2p1:AutoOpenType>4</d2p1:AutoOpenType> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RainOutAlertNote>sample string 6</d2p1:RainOutAlertNote> <d2p1:RainOutSendTo>sample string 7</d2p1:RainOutSendTo> <d2p1:ShowSendRainOutAlertPanel>true</d2p1:ShowSendRainOutAlertPanel> <d2p1:SpecificOpenDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League"> <d4p1:Date>sample string 1</d4p1:Date> <d4p1:Time>sample string 2</d4p1:Time> </d2p1:SpecificOpenDateTime> <d2p1:Status>3</d2p1:Status> </d2p1:FacilitySurfaceVO> <d2p1:FacilitySurfaceVO> <d2p1:AutoOpenType>4</d2p1:AutoOpenType> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RainOutAlertNote>sample string 6</d2p1:RainOutAlertNote> <d2p1:RainOutSendTo>sample string 7</d2p1:RainOutSendTo> <d2p1:ShowSendRainOutAlertPanel>true</d2p1:ShowSendRainOutAlertPanel> <d2p1:SpecificOpenDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League"> <d4p1:Date>sample string 1</d4p1:Date> <d4p1:Time>sample string 2</d4p1:Time> </d2p1:SpecificOpenDateTime> <d2p1:Status>3</d2p1:Status> </d2p1:FacilitySurfaceVO> <d2p1:FacilitySurfaceVO> <d2p1:AutoOpenType>4</d2p1:AutoOpenType> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RainOutAlertNote>sample string 6</d2p1:RainOutAlertNote> <d2p1:RainOutSendTo>sample string 7</d2p1:RainOutSendTo> <d2p1:ShowSendRainOutAlertPanel>true</d2p1:ShowSendRainOutAlertPanel> <d2p1:SpecificOpenDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League"> <d4p1:Date>sample string 1</d4p1:Date> <d4p1:Time>sample string 2</d4p1:Time> </d2p1:SpecificOpenDateTime> <d2p1:Status>3</d2p1:Status> </d2p1:FacilitySurfaceVO> </BelongedSurfaceList> <FacilityVO xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Network"> <d2p1:Address>sample string 18</d2p1:Address> <d2p1:BannerImage>sample string 11</d2p1:BannerImage> <d2p1:CalculatedStatus>16</d2p1:CalculatedStatus> <d2p1:Description>sample string 21</d2p1:Description> <d2p1:Id>sample string 9</d2p1:Id> <d2p1:IsOffice>true</d2p1:IsOffice> <d2p1:IsSchoolAdmin>true</d2p1:IsSchoolAdmin> <d2p1:Name>sample string 10</d2p1:Name> <d2p1:Phone>sample string 20</d2p1:Phone> <d2p1:RecordCountsEnabled>true</d2p1:RecordCountsEnabled> <d2p1:Status>13</d2p1:Status> <d2p1:StatusNote>sample string 17</d2p1:StatusNote> <d2p1:UploadFolder>sample string 15</d2p1:UploadFolder> <d2p1:AutoOpenType>5</d2p1:AutoOpenType> <d2p1:IsFacility>true</d2p1:IsFacility> <d2p1:Lat>sample string 1</d2p1:Lat> <d2p1:Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output"> <d3p1:description>sample string 8</d3p1:description> <d3p1:facilityId>sample string 1</d3p1:facilityId> <d3p1:facilityName>sample string 2</d3p1:facilityName> <d3p1:hours>sample string 4</d3p1:hours> <d3p1:lat>sample string 5</d3p1:lat> <d3p1:location>sample string 3</d3p1:location> <d3p1:locationImgPathFull>sample string 7</d3p1:locationImgPathFull> <d3p1:lon>sample string 6</d3p1:lon> </d2p1:Location> <d2p1:Lon>sample string 2</d2p1:Lon> <d2p1:OpenHoursVO> <d2p1:FacilityHourVO> <d2p1:EndTimeShortString>sample string 4</d2p1:EndTimeShortString> <d2p1:HourString>sample string 2</d2p1:HourString> <d2p1:HourType>WeekDay</d2p1:HourType> <d2p1:IsClosed>true</d2p1:IsClosed> <d2p1:StartTimeShortString>sample string 3</d2p1:StartTimeShortString> <d2p1:WeekDay>Sunday</d2p1:WeekDay> </d2p1:FacilityHourVO> <d2p1:FacilityHourVO> <d2p1:EndTimeShortString>sample string 4</d2p1:EndTimeShortString> <d2p1:HourString>sample string 2</d2p1:HourString> <d2p1:HourType>WeekDay</d2p1:HourType> <d2p1:IsClosed>true</d2p1:IsClosed> <d2p1:StartTimeShortString>sample string 3</d2p1:StartTimeShortString> <d2p1:WeekDay>Sunday</d2p1:WeekDay> </d2p1:FacilityHourVO> <d2p1:FacilityHourVO> <d2p1:EndTimeShortString>sample string 4</d2p1:EndTimeShortString> <d2p1:HourString>sample string 2</d2p1:HourString> <d2p1:HourType>WeekDay</d2p1:HourType> <d2p1:IsClosed>true</d2p1:IsClosed> <d2p1:StartTimeShortString>sample string 3</d2p1:StartTimeShortString> <d2p1:WeekDay>Sunday</d2p1:WeekDay> </d2p1:FacilityHourVO> </d2p1:OpenHoursVO> <d2p1:RainOutAlertNote>sample string 7</d2p1:RainOutAlertNote> <d2p1:RainOutSendTo>sample string 8</d2p1:RainOutSendTo> <d2p1:ShowEditHours>true</d2p1:ShowEditHours> <d2p1:ShowSendRainOutAlertPanel>true</d2p1:ShowSendRainOutAlertPanel> <d2p1:SpecificOpenDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League"> <d3p1:Date>sample string 1</d3p1:Date> <d3p1:Time>sample string 2</d3p1:Time> </d2p1:SpecificOpenDateTime> </FacilityVO> <NetworkId>sample string 1</NetworkId> </SaveFacilityInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "facilityVO": { "lat": "sample string 1", "lon": "sample string 2", "isFacility": true, "location": { "facilityId": "sample string 1", "facilityName": "sample string 2", "location": "sample string 3", "hours": "sample string 4", "lat": "sample string 5", "lon": "sample string 6", "locationImgPathFull": "sample string 7", "description": "sample string 8" }, "openHoursVO": [ { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" }, { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" }, { "weekDay": 0, "hourType": 0, "isClosed": true, "hourString": "sample string 2", "startTimeShortString": "sample string 3", "endTimeShortString": "sample string 4" } ], "showEditHours": true, "autoOpenType": 5, "specificOpenDateTime": { "date": "sample string 1", "time": "sample string 2" }, "showSendRainOutAlertPanel": true, "rainOutAlertNote": "sample string 7", "rainOutSendTo": "sample string 8", "id": "sample string 9", "name": "sample string 10", "bannerImage": "sample string 11", "recordCountsEnabled": true, "status": 13, "isSchoolAdmin": true, "uploadFolder": "sample string 15", "calculatedStatus": 16, "statusNote": "sample string 17", "address": "sample string 18", "isOffice": true, "phone": "sample string 20", "description": "sample string 21" }, "taskId": "sample string 1", "hasTask": true }
application/xml, text/xml
Sample:
<EditFacilityDoneOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Network"> <FacilityVO> <Address>sample string 18</Address> <BannerImage>sample string 11</BannerImage> <CalculatedStatus>16</CalculatedStatus> <Description>sample string 21</Description> <Id>sample string 9</Id> <IsOffice>true</IsOffice> <IsSchoolAdmin>true</IsSchoolAdmin> <Name>sample string 10</Name> <Phone>sample string 20</Phone> <RecordCountsEnabled>true</RecordCountsEnabled> <Status>13</Status> <StatusNote>sample string 17</StatusNote> <UploadFolder>sample string 15</UploadFolder> <AutoOpenType>5</AutoOpenType> <IsFacility>true</IsFacility> <Lat>sample string 1</Lat> <Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output"> <d3p1:description>sample string 8</d3p1:description> <d3p1:facilityId>sample string 1</d3p1:facilityId> <d3p1:facilityName>sample string 2</d3p1:facilityName> <d3p1:hours>sample string 4</d3p1:hours> <d3p1:lat>sample string 5</d3p1:lat> <d3p1:location>sample string 3</d3p1:location> <d3p1:locationImgPathFull>sample string 7</d3p1:locationImgPathFull> <d3p1:lon>sample string 6</d3p1:lon> </Location> <Lon>sample string 2</Lon> <OpenHoursVO> <FacilityHourVO> <EndTimeShortString>sample string 4</EndTimeShortString> <HourString>sample string 2</HourString> <HourType>WeekDay</HourType> <IsClosed>true</IsClosed> <StartTimeShortString>sample string 3</StartTimeShortString> <WeekDay>Sunday</WeekDay> </FacilityHourVO> <FacilityHourVO> <EndTimeShortString>sample string 4</EndTimeShortString> <HourString>sample string 2</HourString> <HourType>WeekDay</HourType> <IsClosed>true</IsClosed> <StartTimeShortString>sample string 3</StartTimeShortString> <WeekDay>Sunday</WeekDay> </FacilityHourVO> <FacilityHourVO> <EndTimeShortString>sample string 4</EndTimeShortString> <HourString>sample string 2</HourString> <HourType>WeekDay</HourType> <IsClosed>true</IsClosed> <StartTimeShortString>sample string 3</StartTimeShortString> <WeekDay>Sunday</WeekDay> </FacilityHourVO> </OpenHoursVO> <RainOutAlertNote>sample string 7</RainOutAlertNote> <RainOutSendTo>sample string 8</RainOutSendTo> <ShowEditHours>true</ShowEditHours> <ShowSendRainOutAlertPanel>true</ShowSendRainOutAlertPanel> <SpecificOpenDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League"> <d3p1:Date>sample string 1</d3p1:Date> <d3p1:Time>sample string 2</d3p1:Time> </SpecificOpenDateTime> </FacilityVO> <HasTask>true</HasTask> <TaskId>sample string 1</TaskId> </EditFacilityDoneOutVO>