POST api/AssinaturaDigital

Request Information

URI Parameters

None.

Body Parameters

CheckProcessRequest
NameDescriptionTypeAdditional information
strServiceURL

string

None.

strCertificado

string

None.

strCertificadoName

string

None.

strCertificadoPassword

string

None.

strIssuerCompanyId

string

None.

strUsername

string

None.

strExternalID

string

None.

lEnvioDocumentosUnicos

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "strServiceURL": "sample string 1",
  "strCertificado": "sample string 2",
  "strCertificadoName": "sample string 3",
  "strCertificadoPassword": "sample string 4",
  "strIssuerCompanyId": "sample string 5",
  "strUsername": "sample string 6",
  "strExternalID": "sample string 7",
  "lEnvioDocumentosUnicos": true
}

application/xml, text/xml

Sample:
<CheckProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Acinet.Services.G3T.WS.AssinaturaDigital.v4.Models">
  <lEnvioDocumentosUnicos>true</lEnvioDocumentosUnicos>
  <strCertificado>sample string 2</strCertificado>
  <strCertificadoName>sample string 3</strCertificadoName>
  <strCertificadoPassword>sample string 4</strCertificadoPassword>
  <strExternalID>sample string 7</strExternalID>
  <strIssuerCompanyId>sample string 5</strIssuerCompanyId>
  <strServiceURL>sample string 1</strServiceURL>
  <strUsername>sample string 6</strUsername>
</CheckProcessRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessResultOfProcessStatusResult
NameDescriptionTypeAdditional information
Codigo

integer

None.

Mensagem

string

None.

Objecto

ProcessStatusResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Codigo": 1,
  "Mensagem": "sample string 2",
  "Objecto": {
    "Codigo": 1,
    "FicheirosDocumentos": [
      {
        "KeyContracto": 1,
        "KeyContractoAdenda": 1,
        "KeyContractoAdendaUTT": 1,
        "ExternalDocumentId": "sample string 1",
        "IsContractoCTTOrCUTT": true,
        "IsFicheiroAnexoSHST": true,
        "IsFicheiroAdendaCTT": true,
        "IsFicheiroAdendaCUTT": true,
        "ISFicheiroAdendaCTTAnexo": true,
        "ISFicheiroAdendaCUTTAnexo": true,
        "IsFicheiroAdendaCUTTGeral": true,
        "IsContracto_DocumentoAssociado": true,
        "UniqueReference": "4600adee-365b-47cd-86fa-a0aad43a0197",
        "ReceiverStatus": [
          {
            "idType": 1,
            "CountryIdDoc": "sample string 2",
            "idNumber": "sample string 3",
            "DocValidated": true,
            "ValidationDate": "2025-01-09T22:09:10.552292+01:00",
            "SignatureStatus": [
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              },
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              }
            ]
          },
          {
            "idType": 1,
            "CountryIdDoc": "sample string 2",
            "idNumber": "sample string 3",
            "DocValidated": true,
            "ValidationDate": "2025-01-09T22:09:10.552292+01:00",
            "SignatureStatus": [
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              },
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              }
            ]
          }
        ],
        "Name": "sample string 10",
        "Content": "QEA="
      },
      {
        "KeyContracto": 1,
        "KeyContractoAdenda": 1,
        "KeyContractoAdendaUTT": 1,
        "ExternalDocumentId": "sample string 1",
        "IsContractoCTTOrCUTT": true,
        "IsFicheiroAnexoSHST": true,
        "IsFicheiroAdendaCTT": true,
        "IsFicheiroAdendaCUTT": true,
        "ISFicheiroAdendaCTTAnexo": true,
        "ISFicheiroAdendaCUTTAnexo": true,
        "IsFicheiroAdendaCUTTGeral": true,
        "IsContracto_DocumentoAssociado": true,
        "UniqueReference": "4600adee-365b-47cd-86fa-a0aad43a0197",
        "ReceiverStatus": [
          {
            "idType": 1,
            "CountryIdDoc": "sample string 2",
            "idNumber": "sample string 3",
            "DocValidated": true,
            "ValidationDate": "2025-01-09T22:09:10.552292+01:00",
            "SignatureStatus": [
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              },
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              }
            ]
          },
          {
            "idType": 1,
            "CountryIdDoc": "sample string 2",
            "idNumber": "sample string 3",
            "DocValidated": true,
            "ValidationDate": "2025-01-09T22:09:10.552292+01:00",
            "SignatureStatus": [
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              },
              {
                "SignatureStatus": 1,
                "SignatureDate": "2025-01-09T22:09:10.552292+01:00"
              }
            ]
          }
        ],
        "Name": "sample string 10",
        "Content": "QEA="
      }
    ],
    "Ficheiro_Certificado": {
      "Name": "sample string 1",
      "Content": "QEA="
    }
  }
}

application/xml, text/xml

Sample:
<ProcessResultOfProcessStatusResultUzNb3Nyy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Acinet.Webservices.mTrust.mTrust">
  <Codigo>1</Codigo>
  <Mensagem>sample string 2</Mensagem>
  <Objecto>
    <Codigo>1</Codigo>
    <Ficheiro_Certificado>
      <Content>QEA=</Content>
      <Name>sample string 1</Name>
    </Ficheiro_Certificado>
    <FicheirosDocumentos>
      <FicheiroDocumento>
        <Content>QEA=</Content>
        <Name>sample string 10</Name>
        <ExternalDocumentId>sample string 1</ExternalDocumentId>
        <ISFicheiroAdendaCTTAnexo>true</ISFicheiroAdendaCTTAnexo>
        <ISFicheiroAdendaCUTTAnexo>true</ISFicheiroAdendaCUTTAnexo>
        <IsContractoCTTOrCUTT>true</IsContractoCTTOrCUTT>
        <IsContracto_DocumentoAssociado>true</IsContracto_DocumentoAssociado>
        <IsFicheiroAdendaCTT>true</IsFicheiroAdendaCTT>
        <IsFicheiroAdendaCUTT>true</IsFicheiroAdendaCUTT>
        <IsFicheiroAdendaCUTTGeral>true</IsFicheiroAdendaCUTTGeral>
        <IsFicheiroAnexoSHST>true</IsFicheiroAnexoSHST>
        <KeyContracto>1</KeyContracto>
        <KeyContractoAdenda>1</KeyContractoAdenda>
        <KeyContractoAdendaUTT>1</KeyContractoAdendaUTT>
        <ReceiverStatus>
          <FicheiroDocumentoReceiverStatus>
            <CountryIdDoc>sample string 2</CountryIdDoc>
            <DocValidated>true</DocValidated>
            <SignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
            </SignatureStatus>
            <ValidationDate>2025-01-09T22:09:10.552292+01:00</ValidationDate>
            <idNumber>sample string 3</idNumber>
            <idType>1</idType>
          </FicheiroDocumentoReceiverStatus>
          <FicheiroDocumentoReceiverStatus>
            <CountryIdDoc>sample string 2</CountryIdDoc>
            <DocValidated>true</DocValidated>
            <SignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
            </SignatureStatus>
            <ValidationDate>2025-01-09T22:09:10.552292+01:00</ValidationDate>
            <idNumber>sample string 3</idNumber>
            <idType>1</idType>
          </FicheiroDocumentoReceiverStatus>
        </ReceiverStatus>
        <UniqueReference>4600adee-365b-47cd-86fa-a0aad43a0197</UniqueReference>
      </FicheiroDocumento>
      <FicheiroDocumento>
        <Content>QEA=</Content>
        <Name>sample string 10</Name>
        <ExternalDocumentId>sample string 1</ExternalDocumentId>
        <ISFicheiroAdendaCTTAnexo>true</ISFicheiroAdendaCTTAnexo>
        <ISFicheiroAdendaCUTTAnexo>true</ISFicheiroAdendaCUTTAnexo>
        <IsContractoCTTOrCUTT>true</IsContractoCTTOrCUTT>
        <IsContracto_DocumentoAssociado>true</IsContracto_DocumentoAssociado>
        <IsFicheiroAdendaCTT>true</IsFicheiroAdendaCTT>
        <IsFicheiroAdendaCUTT>true</IsFicheiroAdendaCUTT>
        <IsFicheiroAdendaCUTTGeral>true</IsFicheiroAdendaCUTTGeral>
        <IsFicheiroAnexoSHST>true</IsFicheiroAnexoSHST>
        <KeyContracto>1</KeyContracto>
        <KeyContractoAdenda>1</KeyContractoAdenda>
        <KeyContractoAdendaUTT>1</KeyContractoAdendaUTT>
        <ReceiverStatus>
          <FicheiroDocumentoReceiverStatus>
            <CountryIdDoc>sample string 2</CountryIdDoc>
            <DocValidated>true</DocValidated>
            <SignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
            </SignatureStatus>
            <ValidationDate>2025-01-09T22:09:10.552292+01:00</ValidationDate>
            <idNumber>sample string 3</idNumber>
            <idType>1</idType>
          </FicheiroDocumentoReceiverStatus>
          <FicheiroDocumentoReceiverStatus>
            <CountryIdDoc>sample string 2</CountryIdDoc>
            <DocValidated>true</DocValidated>
            <SignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
              <FicheiroDocumentoReceiverStatusSignatureStatus>
                <SignatureDate>2025-01-09T22:09:10.552292+01:00</SignatureDate>
                <SignatureStatus>1</SignatureStatus>
              </FicheiroDocumentoReceiverStatusSignatureStatus>
            </SignatureStatus>
            <ValidationDate>2025-01-09T22:09:10.552292+01:00</ValidationDate>
            <idNumber>sample string 3</idNumber>
            <idType>1</idType>
          </FicheiroDocumentoReceiverStatus>
        </ReceiverStatus>
        <UniqueReference>4600adee-365b-47cd-86fa-a0aad43a0197</UniqueReference>
      </FicheiroDocumento>
    </FicheirosDocumentos>
  </Objecto>
</ProcessResultOfProcessStatusResultUzNb3Nyy>