Contract


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/Contract.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/">
      <contract>
        <ContractId>int</ContractId>
        <NumberContract>string</NumberContract>
        <Acta>string</Acta>
        <ProviderId>int</ProviderId>
        <ProviderName>string</ProviderName>
        <DateI>dateTime</DateI>
        <DateE>dateTime</DateE>
        <Day>int</Day>
        <Value>decimal</Value>
        <TPrice>double</TPrice>
        <UPrice>double</UPrice>
        <Type>int</Type>
        <TypeName>string</TypeName>
        <Email>string</Email>
        <Descpt>string</Descpt>
        <FileName>string</FileName>
        <UserId>int</UserId>
        <UserName>string</UserName>
        <State>int</State>
        <StateName>string</StateName>
        <AddInvoice>string</AddInvoice>
        <Field1>string</Field1>
        <Field2>string</Field2>
        <Field3>string</Field3>
        <Field4>string</Field4>
        <Field5>string</Field5>
        <Field6>string</Field6>
        <Field7>string</Field7>
        <Field8>string</Field8>
        <Field9>string</Field9>
        <Field10>string</Field10>
        <Ccenter>string</Ccenter>
        <Comment>string</Comment>
        <AfsServer>string</AfsServer>
        <AfsExt>string</AfsExt>
        <LicenseName>string</LicenseName>
        <LicenseQuantity>string</LicenseQuantity>
        <LicensePrice>double</LicensePrice>
        <LicenseTotal>double</LicenseTotal>
        <Alarm>boolean</Alarm>
        <CIId>int</CIId>
        <ProjectId>int</ProjectId>
        <TypeBehaviour>int</TypeBehaviour>
        <ConfigCasesValue>int</ConfigCasesValue>
        <CompanyId>int</CompanyId>
        <CompanyName>string</CompanyName>
        <RemainingValue>int</RemainingValue>
      </contract>
    </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/Contract.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/">
      <contract>
        <ContractId>int</ContractId>
        <NumberContract>string</NumberContract>
        <Acta>string</Acta>
        <ProviderId>int</ProviderId>
        <ProviderName>string</ProviderName>
        <DateI>dateTime</DateI>
        <DateE>dateTime</DateE>
        <Day>int</Day>
        <Value>decimal</Value>
        <TPrice>double</TPrice>
        <UPrice>double</UPrice>
        <Type>int</Type>
        <TypeName>string</TypeName>
        <Email>string</Email>
        <Descpt>string</Descpt>
        <FileName>string</FileName>
        <UserId>int</UserId>
        <UserName>string</UserName>
        <State>int</State>
        <StateName>string</StateName>
        <AddInvoice>string</AddInvoice>
        <Field1>string</Field1>
        <Field2>string</Field2>
        <Field3>string</Field3>
        <Field4>string</Field4>
        <Field5>string</Field5>
        <Field6>string</Field6>
        <Field7>string</Field7>
        <Field8>string</Field8>
        <Field9>string</Field9>
        <Field10>string</Field10>
        <Ccenter>string</Ccenter>
        <Comment>string</Comment>
        <AfsServer>string</AfsServer>
        <AfsExt>string</AfsExt>
        <LicenseName>string</LicenseName>
        <LicenseQuantity>string</LicenseQuantity>
        <LicensePrice>double</LicensePrice>
        <LicenseTotal>double</LicenseTotal>
        <Alarm>boolean</Alarm>
        <CIId>int</CIId>
        <ProjectId>int</ProjectId>
        <TypeBehaviour>int</TypeBehaviour>
        <ConfigCasesValue>int</ConfigCasesValue>
        <CompanyId>int</CompanyId>
        <CompanyName>string</CompanyName>
        <RemainingValue>int</RemainingValue>
      </contract>
    </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>