SAVI_DATA
Click here for a complete list of operations.
GetLocationsListByUserDataGroupID
Get Locations by User Data Group ID.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /savi_service/SAVI_DATA.asmx HTTP/1.1 Host: beta.savi.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetLocationsListByUserDataGroupID" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetLocationsListByUserDataGroupID xmlns="http://tempuri.org/"> <ApplicationID>int</ApplicationID> <UserID>int</UserID> <UserDataGroupID>int</UserDataGroupID> <cFields> <CustomField1Name>string</CustomField1Name> <CustomField1Type>string</CustomField1Type> <CustomField2Name>string</CustomField2Name> <CustomField2Type>string</CustomField2Type> <CustomField3Name>string</CustomField3Name> <CustomField3Type>string</CustomField3Type> <CustomField4Name>string</CustomField4Name> <CustomField4Type>string</CustomField4Type> <CustomField5Name>string</CustomField5Name> <CustomField5Type>string</CustomField5Type> <CustomField6Name>string</CustomField6Name> <CustomField6Type>string</CustomField6Type> <CustomField7Name>string</CustomField7Name> <CustomField7Type>string</CustomField7Type> <CustomField8Name>string</CustomField8Name> <CustomField8Type>string</CustomField8Type> <CustomField9Name>string</CustomField9Name> <CustomField9Type>string</CustomField9Type> <CustomField10Name>string</CustomField10Name> <CustomField10Type>string</CustomField10Type> </cFields> <HasCustomFields>boolean</HasCustomFields> <ResultStatus>string</ResultStatus> <IsTemp>string</IsTemp> <ErrorMessage>string</ErrorMessage> <ServicePassword>string</ServicePassword> </GetLocationsListByUserDataGroupID> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetLocationsListByUserDataGroupIDResponse xmlns="http://tempuri.org/"> <GetLocationsListByUserDataGroupIDResult> <Location> <LocationID>string</LocationID> <Name>string</Name> <Description>string</Description> <Address>string</Address> <City>string</City> <State>string</State> <ZIPCode>string</ZIPCode> <Longitude>string</Longitude> <Latitude>string</Latitude> <Score>string</Score> <CensusBlockGroup>string</CensusBlockGroup> <CensusYear>string</CensusYear> <CustomField1Value>string</CustomField1Value> <CustomField2Value>string</CustomField2Value> <CustomField3Value>string</CustomField3Value> <CustomField4Value>string</CustomField4Value> <CustomField5Value>string</CustomField5Value> <CustomField6Value>string</CustomField6Value> <CustomField7Value>string</CustomField7Value> <CustomField8Value>string</CustomField8Value> <CustomField9Value>string</CustomField9Value> <CustomField10Value>string</CustomField10Value> <OriginalAddress>string</OriginalAddress> <ReferenceID>string</ReferenceID> <Errors>string</Errors> </Location> <Location> <LocationID>string</LocationID> <Name>string</Name> <Description>string</Description> <Address>string</Address> <City>string</City> <State>string</State> <ZIPCode>string</ZIPCode> <Longitude>string</Longitude> <Latitude>string</Latitude> <Score>string</Score> <CensusBlockGroup>string</CensusBlockGroup> <CensusYear>string</CensusYear> <CustomField1Value>string</CustomField1Value> <CustomField2Value>string</CustomField2Value> <CustomField3Value>string</CustomField3Value> <CustomField4Value>string</CustomField4Value> <CustomField5Value>string</CustomField5Value> <CustomField6Value>string</CustomField6Value> <CustomField7Value>string</CustomField7Value> <CustomField8Value>string</CustomField8Value> <CustomField9Value>string</CustomField9Value> <CustomField10Value>string</CustomField10Value> <OriginalAddress>string</OriginalAddress> <ReferenceID>string</ReferenceID> <Errors>string</Errors> </Location> </GetLocationsListByUserDataGroupIDResult> <cFields> <CustomField1Name>string</CustomField1Name> <CustomField1Type>string</CustomField1Type> <CustomField2Name>string</CustomField2Name> <CustomField2Type>string</CustomField2Type> <CustomField3Name>string</CustomField3Name> <CustomField3Type>string</CustomField3Type> <CustomField4Name>string</CustomField4Name> <CustomField4Type>string</CustomField4Type> <CustomField5Name>string</CustomField5Name> <CustomField5Type>string</CustomField5Type> <CustomField6Name>string</CustomField6Name> <CustomField6Type>string</CustomField6Type> <CustomField7Name>string</CustomField7Name> <CustomField7Type>string</CustomField7Type> <CustomField8Name>string</CustomField8Name> <CustomField8Type>string</CustomField8Type> <CustomField9Name>string</CustomField9Name> <CustomField9Type>string</CustomField9Type> <CustomField10Name>string</CustomField10Name> <CustomField10Type>string</CustomField10Type> </cFields> <HasCustomFields>boolean</HasCustomFields> <ErrorMessage>string</ErrorMessage> </GetLocationsListByUserDataGroupIDResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /savi_service/SAVI_DATA.asmx HTTP/1.1 Host: beta.savi.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetLocationsListByUserDataGroupID xmlns="http://tempuri.org/"> <ApplicationID>int</ApplicationID> <UserID>int</UserID> <UserDataGroupID>int</UserDataGroupID> <cFields> <CustomField1Name>string</CustomField1Name> <CustomField1Type>string</CustomField1Type> <CustomField2Name>string</CustomField2Name> <CustomField2Type>string</CustomField2Type> <CustomField3Name>string</CustomField3Name> <CustomField3Type>string</CustomField3Type> <CustomField4Name>string</CustomField4Name> <CustomField4Type>string</CustomField4Type> <CustomField5Name>string</CustomField5Name> <CustomField5Type>string</CustomField5Type> <CustomField6Name>string</CustomField6Name> <CustomField6Type>string</CustomField6Type> <CustomField7Name>string</CustomField7Name> <CustomField7Type>string</CustomField7Type> <CustomField8Name>string</CustomField8Name> <CustomField8Type>string</CustomField8Type> <CustomField9Name>string</CustomField9Name> <CustomField9Type>string</CustomField9Type> <CustomField10Name>string</CustomField10Name> <CustomField10Type>string</CustomField10Type> </cFields> <HasCustomFields>boolean</HasCustomFields> <ResultStatus>string</ResultStatus> <IsTemp>string</IsTemp> <ErrorMessage>string</ErrorMessage> <ServicePassword>string</ServicePassword> </GetLocationsListByUserDataGroupID> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetLocationsListByUserDataGroupIDResponse xmlns="http://tempuri.org/"> <GetLocationsListByUserDataGroupIDResult> <Location> <LocationID>string</LocationID> <Name>string</Name> <Description>string</Description> <Address>string</Address> <City>string</City> <State>string</State> <ZIPCode>string</ZIPCode> <Longitude>string</Longitude> <Latitude>string</Latitude> <Score>string</Score> <CensusBlockGroup>string</CensusBlockGroup> <CensusYear>string</CensusYear> <CustomField1Value>string</CustomField1Value> <CustomField2Value>string</CustomField2Value> <CustomField3Value>string</CustomField3Value> <CustomField4Value>string</CustomField4Value> <CustomField5Value>string</CustomField5Value> <CustomField6Value>string</CustomField6Value> <CustomField7Value>string</CustomField7Value> <CustomField8Value>string</CustomField8Value> <CustomField9Value>string</CustomField9Value> <CustomField10Value>string</CustomField10Value> <OriginalAddress>string</OriginalAddress> <ReferenceID>string</ReferenceID> <Errors>string</Errors> </Location> <Location> <LocationID>string</LocationID> <Name>string</Name> <Description>string</Description> <Address>string</Address> <City>string</City> <State>string</State> <ZIPCode>string</ZIPCode> <Longitude>string</Longitude> <Latitude>string</Latitude> <Score>string</Score> <CensusBlockGroup>string</CensusBlockGroup> <CensusYear>string</CensusYear> <CustomField1Value>string</CustomField1Value> <CustomField2Value>string</CustomField2Value> <CustomField3Value>string</CustomField3Value> <CustomField4Value>string</CustomField4Value> <CustomField5Value>string</CustomField5Value> <CustomField6Value>string</CustomField6Value> <CustomField7Value>string</CustomField7Value> <CustomField8Value>string</CustomField8Value> <CustomField9Value>string</CustomField9Value> <CustomField10Value>string</CustomField10Value> <OriginalAddress>string</OriginalAddress> <ReferenceID>string</ReferenceID> <Errors>string</Errors> </Location> </GetLocationsListByUserDataGroupIDResult> <cFields> <CustomField1Name>string</CustomField1Name> <CustomField1Type>string</CustomField1Type> <CustomField2Name>string</CustomField2Name> <CustomField2Type>string</CustomField2Type> <CustomField3Name>string</CustomField3Name> <CustomField3Type>string</CustomField3Type> <CustomField4Name>string</CustomField4Name> <CustomField4Type>string</CustomField4Type> <CustomField5Name>string</CustomField5Name> <CustomField5Type>string</CustomField5Type> <CustomField6Name>string</CustomField6Name> <CustomField6Type>string</CustomField6Type> <CustomField7Name>string</CustomField7Name> <CustomField7Type>string</CustomField7Type> <CustomField8Name>string</CustomField8Name> <CustomField8Type>string</CustomField8Type> <CustomField9Name>string</CustomField9Name> <CustomField9Type>string</CustomField9Type> <CustomField10Name>string</CustomField10Name> <CustomField10Type>string</CustomField10Type> </cFields> <HasCustomFields>boolean</HasCustomFields> <ErrorMessage>string</ErrorMessage> </GetLocationsListByUserDataGroupIDResponse> </soap12:Body> </soap12:Envelope>