BodyService
Click here for a complete list of operations.
getObsRequestTypeById
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 /Bodies/BodyService.asmx HTTP/1.1
Host: oecdgroups.oecd.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/getObsRequestTypeById"
<?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>
<getObsRequestTypeById xmlns="http://tempuri.org/">
<obsRequestId>int</obsRequestId>
</getObsRequestTypeById>
</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>
<getObsRequestTypeByIdResponse xmlns="http://tempuri.org/">
<getObsRequestTypeByIdResult>
<BodyId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</BodyId>
<CountryId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</CountryId>
<EMSEventId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</EMSEventId>
<StatusId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</StatusId>
<TypeId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</TypeId>
<CreationDate xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">dateTime</CreationDate>
<Events xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
<ObsEventType>
<Name_En>string</Name_En>
<Name_Fr>string</Name_Fr>
<Comment_En>string</Comment_En>
<Comment_Fr>string</Comment_Fr>
<CreationDate>dateTime</CreationDate>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStringDate>string</EffectiveStringDate>
<EndDate>dateTime</EndDate>
<EndStringDate>string</EndStringDate>
<TypeId>int</TypeId>
<RequestId>int</RequestId>
<Documents xsi:nil="true" />
<Links xsi:nil="true" />
<Histories xsi:nil="true" />
<StatusId>int</StatusId>
<FeesOwed>decimal</FeesOwed>
<FeesPaid>decimal</FeesPaid>
<FeesBalance>decimal</FeesBalance>
</ObsEventType>
<ObsEventType>
<Name_En>string</Name_En>
<Name_Fr>string</Name_Fr>
<Comment_En>string</Comment_En>
<Comment_Fr>string</Comment_Fr>
<CreationDate>dateTime</CreationDate>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStringDate>string</EffectiveStringDate>
<EndDate>dateTime</EndDate>
<EndStringDate>string</EndStringDate>
<TypeId>int</TypeId>
<RequestId>int</RequestId>
<Documents xsi:nil="true" />
<Links xsi:nil="true" />
<Histories xsi:nil="true" />
<StatusId>int</StatusId>
<FeesOwed>decimal</FeesOwed>
<FeesPaid>decimal</FeesPaid>
<FeesBalance>decimal</FeesBalance>
</ObsEventType>
</Events>
<FeesOwed xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesOwed>
<FeesPaid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesPaid>
<FeesBalance xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesBalance>
</getObsRequestTypeByIdResult>
</getObsRequestTypeByIdResponse>
</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 /Bodies/BodyService.asmx HTTP/1.1
Host: oecdgroups.oecd.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>
<getObsRequestTypeById xmlns="http://tempuri.org/">
<obsRequestId>int</obsRequestId>
</getObsRequestTypeById>
</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>
<getObsRequestTypeByIdResponse xmlns="http://tempuri.org/">
<getObsRequestTypeByIdResult>
<BodyId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</BodyId>
<CountryId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</CountryId>
<EMSEventId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</EMSEventId>
<StatusId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</StatusId>
<TypeId xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</TypeId>
<CreationDate xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">dateTime</CreationDate>
<Events xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
<ObsEventType>
<Name_En>string</Name_En>
<Name_Fr>string</Name_Fr>
<Comment_En>string</Comment_En>
<Comment_Fr>string</Comment_Fr>
<CreationDate>dateTime</CreationDate>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStringDate>string</EffectiveStringDate>
<EndDate>dateTime</EndDate>
<EndStringDate>string</EndStringDate>
<TypeId>int</TypeId>
<RequestId>int</RequestId>
<Documents xsi:nil="true" />
<Links xsi:nil="true" />
<Histories xsi:nil="true" />
<StatusId>int</StatusId>
<FeesOwed>decimal</FeesOwed>
<FeesPaid>decimal</FeesPaid>
<FeesBalance>decimal</FeesBalance>
</ObsEventType>
<ObsEventType>
<Name_En>string</Name_En>
<Name_Fr>string</Name_Fr>
<Comment_En>string</Comment_En>
<Comment_Fr>string</Comment_Fr>
<CreationDate>dateTime</CreationDate>
<EffectiveDate>dateTime</EffectiveDate>
<EffectiveStringDate>string</EffectiveStringDate>
<EndDate>dateTime</EndDate>
<EndStringDate>string</EndStringDate>
<TypeId>int</TypeId>
<RequestId>int</RequestId>
<Documents xsi:nil="true" />
<Links xsi:nil="true" />
<Histories xsi:nil="true" />
<StatusId>int</StatusId>
<FeesOwed>decimal</FeesOwed>
<FeesPaid>decimal</FeesPaid>
<FeesBalance>decimal</FeesBalance>
</ObsEventType>
</Events>
<FeesOwed xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesOwed>
<FeesPaid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesPaid>
<FeesBalance xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">decimal</FeesBalance>
</getObsRequestTypeByIdResult>
</getObsRequestTypeByIdResponse>
</soap12:Body>
</soap12:Envelope>