Problem
Haga clic aquí para obtener una lista completa de operaciones.
Add
Prueba
El formulario de prueba sólo está disponible para solicitudes del equipo local.SOAP 1.1
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /CMDBWS/Problem.asmx HTTP/1.1
Host: aranda.gypbogotasas.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ArandaCMDBWebService.org/Add"
<?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>
<Add xmlns="http://ArandaCMDBWebService.org/">
<item>
<interfaceId>string</interfaceId>
<ProcedureId>int</ProcedureId>
<CiId>int</CiId>
<AttentionEstimatedDate>dateTime</AttentionEstimatedDate>
<AttentionRealDate>dateTime</AttentionRealDate>
<AttentionTime>int</AttentionTime>
<AuthorId>int</AuthorId>
<CategoryId>int</CategoryId>
<CauseId>int</CauseId>
<ClosureId>int</ClosureId>
<ReceptorId>int</ReceptorId>
<ClosedDate>dateTime</ClosedDate>
<Commentary>string</Commentary>
<CurrentProgress>int</CurrentProgress>
<CurrentTime>int</CurrentTime>
<Description>string</Description>
<FormatDescription>string</FormatDescription>
<EstimatedCost>decimal</EstimatedCost>
<ExpiredDate>dateTime</ExpiredDate>
<ProjectId>int</ProjectId>
<Id>int</Id>
<IdByProject>int</IdByProject>
<ImpactId>int</ImpactId>
<InvolvedCi>int</InvolvedCi>
<InvolvedCompany>int</InvolvedCompany>
<InvolvedIncident>int</InvolvedIncident>
<InvolvedUser>int</InvolvedUser>
<KnownError>string</KnownError>
<OpenedDate>dateTime</OpenedDate>
<PriorityId>int</PriorityId>
<RealCost>decimal</RealCost>
<RegistryTypeId>int</RegistryTypeId>
<GroupId>int</GroupId>
<ResponsibleId>int</ResponsibleId>
<SdbLastShot>dateTime</SdbLastShot>
<ServiceId>int</ServiceId>
<SlaId>int</SlaId>
<SolutionTime>int</SolutionTime>
<StatusId>int</StatusId>
<UrgencyId>int</UrgencyId>
<ModifierId>int</ModifierId>
<SolutionRealDate>dateTime</SolutionRealDate>
<RoutingType>int</RoutingType>
<Subject>string</Subject>
<UcId>int</UcId>
<DescriptionNoHtml>string</DescriptionNoHtml>
<CommentaryNoHtml>string</CommentaryNoHtml>
</item>
</Add>
</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>
<AddResponse xmlns="http://ArandaCMDBWebService.org/">
<AddResult>int</AddResult>
</AddResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /CMDBWS/Problem.asmx HTTP/1.1
Host: aranda.gypbogotasas.com
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>
<Add xmlns="http://ArandaCMDBWebService.org/">
<item>
<interfaceId>string</interfaceId>
<ProcedureId>int</ProcedureId>
<CiId>int</CiId>
<AttentionEstimatedDate>dateTime</AttentionEstimatedDate>
<AttentionRealDate>dateTime</AttentionRealDate>
<AttentionTime>int</AttentionTime>
<AuthorId>int</AuthorId>
<CategoryId>int</CategoryId>
<CauseId>int</CauseId>
<ClosureId>int</ClosureId>
<ReceptorId>int</ReceptorId>
<ClosedDate>dateTime</ClosedDate>
<Commentary>string</Commentary>
<CurrentProgress>int</CurrentProgress>
<CurrentTime>int</CurrentTime>
<Description>string</Description>
<FormatDescription>string</FormatDescription>
<EstimatedCost>decimal</EstimatedCost>
<ExpiredDate>dateTime</ExpiredDate>
<ProjectId>int</ProjectId>
<Id>int</Id>
<IdByProject>int</IdByProject>
<ImpactId>int</ImpactId>
<InvolvedCi>int</InvolvedCi>
<InvolvedCompany>int</InvolvedCompany>
<InvolvedIncident>int</InvolvedIncident>
<InvolvedUser>int</InvolvedUser>
<KnownError>string</KnownError>
<OpenedDate>dateTime</OpenedDate>
<PriorityId>int</PriorityId>
<RealCost>decimal</RealCost>
<RegistryTypeId>int</RegistryTypeId>
<GroupId>int</GroupId>
<ResponsibleId>int</ResponsibleId>
<SdbLastShot>dateTime</SdbLastShot>
<ServiceId>int</ServiceId>
<SlaId>int</SlaId>
<SolutionTime>int</SolutionTime>
<StatusId>int</StatusId>
<UrgencyId>int</UrgencyId>
<ModifierId>int</ModifierId>
<SolutionRealDate>dateTime</SolutionRealDate>
<RoutingType>int</RoutingType>
<Subject>string</Subject>
<UcId>int</UcId>
<DescriptionNoHtml>string</DescriptionNoHtml>
<CommentaryNoHtml>string</CommentaryNoHtml>
</item>
</Add>
</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>
<AddResponse xmlns="http://ArandaCMDBWebService.org/">
<AddResult>int</AddResult>
</AddResponse>
</soap12:Body>
</soap12:Envelope>