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", "facilityAccessRequirements": [ 1, 2, 3 ], "automaticallyTrackOccupancy": true, "trackOccupancyTimeout": 10, "multipleCheckInAlertTime": 11, "facilityAccessEntranceList": [ { "id": 1, "name": "sample string 2", "isExit": true }, { "id": 1, "name": "sample string 2", "isExit": true }, { "id": 1, "name": "sample string 2", "isExit": true } ], "currentOccupancy": 12, "id": "sample string 13", "name": "sample string 14", "bannerImage": "sample string 15", "recordCountsEnabled": true, "status": 17, "isSchoolAdmin": true, "uploadFolder": "sample string 19", "calculatedStatus": 20, "statusNote": "sample string 21", "address": "sample string 22", "isOffice": true, "phone": "sample string 24", "description": "sample string 25", "maxCapacity": 26, "currentCount": 27 }, "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 22</d2p1:Address> <d2p1:BannerImage>sample string 15</d2p1:BannerImage> <d2p1:CalculatedStatus>20</d2p1:CalculatedStatus> <d2p1:CurrentCount>27</d2p1:CurrentCount> <d2p1:Description>sample string 25</d2p1:Description> <d2p1:Id>sample string 13</d2p1:Id> <d2p1:IsOffice>true</d2p1:IsOffice> <d2p1:IsSchoolAdmin>true</d2p1:IsSchoolAdmin> <d2p1:MaxCapacity>26</d2p1:MaxCapacity> <d2p1:Name>sample string 14</d2p1:Name> <d2p1:Phone>sample string 24</d2p1:Phone> <d2p1:RecordCountsEnabled>true</d2p1:RecordCountsEnabled> <d2p1:Status>17</d2p1:Status> <d2p1:StatusNote>sample string 21</d2p1:StatusNote> <d2p1:UploadFolder>sample string 19</d2p1:UploadFolder> <d2p1:AutoOpenType>5</d2p1:AutoOpenType> <d2p1:AutomaticallyTrackOccupancy>true</d2p1:AutomaticallyTrackOccupancy> <d2p1:CurrentOccupancy>12</d2p1:CurrentOccupancy> <d2p1:FacilityAccessEntranceList xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Business"> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> </d2p1:FacilityAccessEntranceList> <d2p1:FacilityAccessRequirements xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> <d3p1:int>3</d3p1:int> </d2p1:FacilityAccessRequirements> <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:MultipleCheckInAlertTime>11</d2p1:MultipleCheckInAlertTime> <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> <d2p1:TrackOccupancyTimeout>10</d2p1:TrackOccupancyTimeout> </FacilityVO> <NetworkId>sample string 1</NetworkId> </SaveFacilityInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
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", "facilityAccessRequirements": [ 1, 2, 3 ], "automaticallyTrackOccupancy": true, "trackOccupancyTimeout": 10, "multipleCheckInAlertTime": 11, "facilityAccessEntranceList": [ { "id": 1, "name": "sample string 2", "isExit": true }, { "id": 1, "name": "sample string 2", "isExit": true }, { "id": 1, "name": "sample string 2", "isExit": true } ], "currentOccupancy": 12, "id": "sample string 13", "name": "sample string 14", "bannerImage": "sample string 15", "recordCountsEnabled": true, "status": 17, "isSchoolAdmin": true, "uploadFolder": "sample string 19", "calculatedStatus": 20, "statusNote": "sample string 21", "address": "sample string 22", "isOffice": true, "phone": "sample string 24", "description": "sample string 25", "maxCapacity": 26, "currentCount": 27 }, "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 22</Address> <BannerImage>sample string 15</BannerImage> <CalculatedStatus>20</CalculatedStatus> <CurrentCount>27</CurrentCount> <Description>sample string 25</Description> <Id>sample string 13</Id> <IsOffice>true</IsOffice> <IsSchoolAdmin>true</IsSchoolAdmin> <MaxCapacity>26</MaxCapacity> <Name>sample string 14</Name> <Phone>sample string 24</Phone> <RecordCountsEnabled>true</RecordCountsEnabled> <Status>17</Status> <StatusNote>sample string 21</StatusNote> <UploadFolder>sample string 19</UploadFolder> <AutoOpenType>5</AutoOpenType> <AutomaticallyTrackOccupancy>true</AutomaticallyTrackOccupancy> <CurrentOccupancy>12</CurrentOccupancy> <FacilityAccessEntranceList xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Business"> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> <d3p1:FacilityAccessEntrance> <d3p1:Id>1</d3p1:Id> <d3p1:IsExit>true</d3p1:IsExit> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:FacilityAccessEntrance> </FacilityAccessEntranceList> <FacilityAccessRequirements xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> <d3p1:int>3</d3p1:int> </FacilityAccessRequirements> <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> <MultipleCheckInAlertTime>11</MultipleCheckInAlertTime> <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> <TrackOccupancyTimeout>10</TrackOccupancyTimeout> </FacilityVO> <HasTask>true</HasTask> <TaskId>sample string 1</TaskId> </EditFacilityDoneOutVO>
multipart/form-data
Sample:
Sample not available.