GHostS Web Service
Click here for a complete list of operations.
FindGrbsCone
Finds and returns GRB hosts by the specified spatial circle.
Input 1: RA of the center of the search cone in degrees.
Input 2: Dec of the center of the search cone in degrees.
Input 3: Radius of the search cone in arcmins.
Returns: List of GRBs.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /ghostsws.asmx HTTP/1.1
Host: www.grbhosts.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://grbhosts.org/FindGrbsCone"
<?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>
<FindGrbsCone xmlns="http://grbhosts.org">
<ra>double</ra>
<dec>double</dec>
<r>double</r>
</FindGrbsCone>
</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>
<FindGrbsConeResponse xmlns="http://grbhosts.org">
<FindGrbsConeResult>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed xsi:nil="true" />
<Sed xsi:nil="true" />
</Seds>
<EmissionLines>
<EmissionLine xsi:nil="true" />
<EmissionLine xsi:nil="true" />
</EmissionLines>
<Figures>
<Figure xsi:nil="true" />
<Figure xsi:nil="true" />
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed xsi:nil="true" />
<Sed xsi:nil="true" />
</Seds>
<EmissionLines>
<EmissionLine xsi:nil="true" />
<EmissionLine xsi:nil="true" />
</EmissionLines>
<Figures>
<Figure xsi:nil="true" />
<Figure xsi:nil="true" />
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
</FindGrbsConeResult>
</FindGrbsConeResponse>
</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 /ghostsws.asmx HTTP/1.1
Host: www.grbhosts.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>
<FindGrbsCone xmlns="http://grbhosts.org">
<ra>double</ra>
<dec>double</dec>
<r>double</r>
</FindGrbsCone>
</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>
<FindGrbsConeResponse xmlns="http://grbhosts.org">
<FindGrbsConeResult>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed xsi:nil="true" />
<Sed xsi:nil="true" />
</Seds>
<EmissionLines>
<EmissionLine xsi:nil="true" />
<EmissionLine xsi:nil="true" />
</EmissionLines>
<Figures>
<Figure xsi:nil="true" />
<Figure xsi:nil="true" />
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed xsi:nil="true" />
<Sed xsi:nil="true" />
</Seds>
<EmissionLines>
<EmissionLine xsi:nil="true" />
<EmissionLine xsi:nil="true" />
</EmissionLines>
<Figures>
<Figure xsi:nil="true" />
<Figure xsi:nil="true" />
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
</FindGrbsConeResult>
</FindGrbsConeResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ghostsws.asmx/FindGrbsCone?ra=string&dec=string&r=string HTTP/1.1 Host: www.grbhosts.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGrb xmlns="http://grbhosts.org">
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
</Seds>
<EmissionLines>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
</EmissionLines>
<Figures>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
</Seds>
<EmissionLines>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
</EmissionLines>
<Figures>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
</ArrayOfGrb>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ghostsws.asmx/FindGrbsCone HTTP/1.1 Host: www.grbhosts.org Content-Type: application/x-www-form-urlencoded Content-Length: length ra=string&dec=string&r=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGrb xmlns="http://grbhosts.org">
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
</Seds>
<EmissionLines>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
</EmissionLines>
<Figures>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
<Grb>
<Id>long</Id>
<Name>string</Name>
<Redshift>double</Redshift>
<T90>double</T90>
<T90_Err>double</T90_Err>
<LogM>double</LogM>
<LogM_Err>double</LogM_Err>
<Sfr>double</Sfr>
<Sfr_Err>double</Sfr_Err>
<LogZ>double</LogZ>
<LogZ_Err>double</LogZ_Err>
<Ssfr>double</Ssfr>
<Ssfr_Err>double</Ssfr_Err>
<Av>double</Av>
<Av_Err>double</Av_Err>
<Distance>double</Distance>
<Extinction>double</Extinction>
<RA>double</RA>
<Dec>double</Dec>
<Radius>double</Radius>
<DateObserved>dateTime</DateObserved>
<DateCreated>dateTime</DateCreated>
<DateModified>dateTime</DateModified>
<Comment>string</Comment>
<Seds>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
<Sed>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Wavelength>double</Wavelength>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Ucd>string</Ucd>
</Sed>
</Seds>
<EmissionLines>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
<EmissionLine>
<Id>long</Id>
<GrbId>long</GrbId>
<LineId>long</LineId>
<PaperId>long</PaperId>
<Flux>double</Flux>
<FluxError>double</FluxError>
<FluxLimit>Both or Upper or Lower</FluxLimit>
<Line d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</EmissionLine>
</EmissionLines>
<Figures>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
<Figure>
<Id>long</Id>
<GrbId>long</GrbId>
<PaperId>long</PaperId>
<Caption>string</Caption>
<FileName>string</FileName>
<Data>base64Binary</Data>
<DataType>string</DataType>
<MimeType>string</MimeType>
<Url>string</Url>
</Figure>
</Figures>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
<Papers>
<Id>long</Id>
<Authors>string</Authors>
<Journal>string</Journal>
<DateYear>int</DateYear>
<Title>string</Title>
<Url>string</Url>
</Papers>
</Grb>
</ArrayOfGrb>