POST api/CotacaoMoeda/AtualizacaoDiaria

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ReturnCotacao
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Collection of TaxaCambio

None.

Ex

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "ccIPClient": "sample string 1",
      "cdCotacao": "2024-11-07T21:24:25.7123011+00:00",
      "cvIdMoeda": 1,
      "cvIdTaxaCambio": 1,
      "cvParidadeCompra": 1.0,
      "cvParidadeVenda": 1.0,
      "cvTaxaCompra": 1.0,
      "cvTaxaVenda": 1.0,
      "Moeda": {
        "cbAtivo": true,
        "ccCodigo": "sample string 1",
        "ccIPClient": "sample string 2",
        "ccNome": "sample string 3",
        "ccSimbolo": "sample string 4",
        "ccTipoMoeda": "sample string 5",
        "cvIdMoeda": 1,
        "cdAtualizacao": "2024-11-07T21:24:25.7123011+00:00",
        "cvIdUsuarioSessao": 1,
        "ccNomeUsuarioSessao": "sample string 6",
        "ccRet": "sample string 7",
        "ccMensagem": "sample string 8",
        "cvPageIndex": 1,
        "cvTotalRecordsPage": 1,
        "Validacao": [
          {
            "ccInstancia": "sample string 1",
            "ccChaveErro": "sample string 2",
            "ccMensagemErro": "sample string 3"
          },
          {
            "ccInstancia": "sample string 1",
            "ccChaveErro": "sample string 2",
            "ccMensagemErro": "sample string 3"
          }
        ]
      },
      "cdCotacaoInicio": "2024-11-07T21:24:25.7123011+00:00",
      "cdCotacaoFim": "2024-11-07T21:24:25.7123011+00:00",
      "cdAtualizacao": "2024-11-07T21:24:25.7123011+00:00",
      "cvIdUsuarioSessao": 1,
      "ccNomeUsuarioSessao": "sample string 2",
      "ccRet": "sample string 3",
      "ccMensagem": "sample string 4",
      "cvPageIndex": 1,
      "cvTotalRecordsPage": 1,
      "Validacao": [
        {
          "ccInstancia": "sample string 1",
          "ccChaveErro": "sample string 2",
          "ccMensagemErro": "sample string 3"
        },
        {
          "ccInstancia": "sample string 1",
          "ccChaveErro": "sample string 2",
          "ccMensagemErro": "sample string 3"
        }
      ]
    },
    {
      "ccIPClient": "sample string 1",
      "cdCotacao": "2024-11-07T21:24:25.7123011+00:00",
      "cvIdMoeda": 1,
      "cvIdTaxaCambio": 1,
      "cvParidadeCompra": 1.0,
      "cvParidadeVenda": 1.0,
      "cvTaxaCompra": 1.0,
      "cvTaxaVenda": 1.0,
      "Moeda": {
        "cbAtivo": true,
        "ccCodigo": "sample string 1",
        "ccIPClient": "sample string 2",
        "ccNome": "sample string 3",
        "ccSimbolo": "sample string 4",
        "ccTipoMoeda": "sample string 5",
        "cvIdMoeda": 1,
        "cdAtualizacao": "2024-11-07T21:24:25.7123011+00:00",
        "cvIdUsuarioSessao": 1,
        "ccNomeUsuarioSessao": "sample string 6",
        "ccRet": "sample string 7",
        "ccMensagem": "sample string 8",
        "cvPageIndex": 1,
        "cvTotalRecordsPage": 1,
        "Validacao": [
          {
            "ccInstancia": "sample string 1",
            "ccChaveErro": "sample string 2",
            "ccMensagemErro": "sample string 3"
          },
          {
            "ccInstancia": "sample string 1",
            "ccChaveErro": "sample string 2",
            "ccMensagemErro": "sample string 3"
          }
        ]
      },
      "cdCotacaoInicio": "2024-11-07T21:24:25.7123011+00:00",
      "cdCotacaoFim": "2024-11-07T21:24:25.7123011+00:00",
      "cdAtualizacao": "2024-11-07T21:24:25.7123011+00:00",
      "cvIdUsuarioSessao": 1,
      "ccNomeUsuarioSessao": "sample string 2",
      "ccRet": "sample string 3",
      "ccMensagem": "sample string 4",
      "cvPageIndex": 1,
      "cvTotalRecordsPage": 1,
      "Validacao": [
        {
          "ccInstancia": "sample string 1",
          "ccChaveErro": "sample string 2",
          "ccMensagemErro": "sample string 3"
        },
        {
          "ccInstancia": "sample string 1",
          "ccChaveErro": "sample string 2",
          "ccMensagemErro": "sample string 3"
        }
      ]
    }
  ],
  "Ex": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<ReturnCotacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EY.Tax.LocalOne.API.Controllers">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/EY.Tax.RoboCotacao.Entity">
    <d2p1:TaxaCambio>
      <d2p1:Validacao>
        <d2p1:ValidacaoRoboCotacao>
          <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
          <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
          <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
        </d2p1:ValidacaoRoboCotacao>
        <d2p1:ValidacaoRoboCotacao>
          <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
          <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
          <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
        </d2p1:ValidacaoRoboCotacao>
      </d2p1:Validacao>
      <d2p1:ccIPClient i:nil="true" />
      <d2p1:ccMensagem>sample string 4</d2p1:ccMensagem>
      <d2p1:ccNomeUsuarioSessao>sample string 2</d2p1:ccNomeUsuarioSessao>
      <d2p1:ccRet>sample string 3</d2p1:ccRet>
      <d2p1:cdAtualizacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdAtualizacao>
      <d2p1:cvIdUsuarioSessao>1</d2p1:cvIdUsuarioSessao>
      <d2p1:cvPageIndex>1</d2p1:cvPageIndex>
      <d2p1:cvTotalRecordsPage>1</d2p1:cvTotalRecordsPage>
      <d2p1:Moeda>
        <d2p1:Validacao>
          <d2p1:ValidacaoRoboCotacao>
            <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
            <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
            <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
          </d2p1:ValidacaoRoboCotacao>
          <d2p1:ValidacaoRoboCotacao>
            <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
            <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
            <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
          </d2p1:ValidacaoRoboCotacao>
        </d2p1:Validacao>
        <d2p1:ccIPClient i:nil="true" />
        <d2p1:ccMensagem>sample string 8</d2p1:ccMensagem>
        <d2p1:ccNomeUsuarioSessao>sample string 6</d2p1:ccNomeUsuarioSessao>
        <d2p1:ccRet>sample string 7</d2p1:ccRet>
        <d2p1:cdAtualizacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdAtualizacao>
        <d2p1:cvIdUsuarioSessao>1</d2p1:cvIdUsuarioSessao>
        <d2p1:cvPageIndex>1</d2p1:cvPageIndex>
        <d2p1:cvTotalRecordsPage>1</d2p1:cvTotalRecordsPage>
        <d2p1:cbAtivo>true</d2p1:cbAtivo>
        <d2p1:ccCodigo>sample string 1</d2p1:ccCodigo>
        <d2p1:ccIPClient>sample string 2</d2p1:ccIPClient>
        <d2p1:ccNome>sample string 3</d2p1:ccNome>
        <d2p1:ccSimbolo>sample string 4</d2p1:ccSimbolo>
        <d2p1:ccTipoMoeda>sample string 5</d2p1:ccTipoMoeda>
        <d2p1:cvIdMoeda>1</d2p1:cvIdMoeda>
      </d2p1:Moeda>
      <d2p1:ccIPClient>sample string 1</d2p1:ccIPClient>
      <d2p1:cdCotacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacao>
      <d2p1:cdCotacaoFim>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacaoFim>
      <d2p1:cdCotacaoInicio>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacaoInicio>
      <d2p1:cvIdMoeda>1</d2p1:cvIdMoeda>
      <d2p1:cvIdTaxaCambio>1</d2p1:cvIdTaxaCambio>
      <d2p1:cvParidadeCompra>1</d2p1:cvParidadeCompra>
      <d2p1:cvParidadeVenda>1</d2p1:cvParidadeVenda>
      <d2p1:cvTaxaCompra>1</d2p1:cvTaxaCompra>
      <d2p1:cvTaxaVenda>1</d2p1:cvTaxaVenda>
    </d2p1:TaxaCambio>
    <d2p1:TaxaCambio>
      <d2p1:Validacao>
        <d2p1:ValidacaoRoboCotacao>
          <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
          <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
          <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
        </d2p1:ValidacaoRoboCotacao>
        <d2p1:ValidacaoRoboCotacao>
          <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
          <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
          <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
        </d2p1:ValidacaoRoboCotacao>
      </d2p1:Validacao>
      <d2p1:ccIPClient i:nil="true" />
      <d2p1:ccMensagem>sample string 4</d2p1:ccMensagem>
      <d2p1:ccNomeUsuarioSessao>sample string 2</d2p1:ccNomeUsuarioSessao>
      <d2p1:ccRet>sample string 3</d2p1:ccRet>
      <d2p1:cdAtualizacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdAtualizacao>
      <d2p1:cvIdUsuarioSessao>1</d2p1:cvIdUsuarioSessao>
      <d2p1:cvPageIndex>1</d2p1:cvPageIndex>
      <d2p1:cvTotalRecordsPage>1</d2p1:cvTotalRecordsPage>
      <d2p1:Moeda>
        <d2p1:Validacao>
          <d2p1:ValidacaoRoboCotacao>
            <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
            <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
            <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
          </d2p1:ValidacaoRoboCotacao>
          <d2p1:ValidacaoRoboCotacao>
            <d2p1:ccChaveErro>sample string 2</d2p1:ccChaveErro>
            <d2p1:ccInstancia>sample string 1</d2p1:ccInstancia>
            <d2p1:ccMensagemErro>sample string 3</d2p1:ccMensagemErro>
          </d2p1:ValidacaoRoboCotacao>
        </d2p1:Validacao>
        <d2p1:ccIPClient i:nil="true" />
        <d2p1:ccMensagem>sample string 8</d2p1:ccMensagem>
        <d2p1:ccNomeUsuarioSessao>sample string 6</d2p1:ccNomeUsuarioSessao>
        <d2p1:ccRet>sample string 7</d2p1:ccRet>
        <d2p1:cdAtualizacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdAtualizacao>
        <d2p1:cvIdUsuarioSessao>1</d2p1:cvIdUsuarioSessao>
        <d2p1:cvPageIndex>1</d2p1:cvPageIndex>
        <d2p1:cvTotalRecordsPage>1</d2p1:cvTotalRecordsPage>
        <d2p1:cbAtivo>true</d2p1:cbAtivo>
        <d2p1:ccCodigo>sample string 1</d2p1:ccCodigo>
        <d2p1:ccIPClient>sample string 2</d2p1:ccIPClient>
        <d2p1:ccNome>sample string 3</d2p1:ccNome>
        <d2p1:ccSimbolo>sample string 4</d2p1:ccSimbolo>
        <d2p1:ccTipoMoeda>sample string 5</d2p1:ccTipoMoeda>
        <d2p1:cvIdMoeda>1</d2p1:cvIdMoeda>
      </d2p1:Moeda>
      <d2p1:ccIPClient>sample string 1</d2p1:ccIPClient>
      <d2p1:cdCotacao>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacao>
      <d2p1:cdCotacaoFim>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacaoFim>
      <d2p1:cdCotacaoInicio>2024-11-07T21:24:25.7123011+00:00</d2p1:cdCotacaoInicio>
      <d2p1:cvIdMoeda>1</d2p1:cvIdMoeda>
      <d2p1:cvIdTaxaCambio>1</d2p1:cvIdTaxaCambio>
      <d2p1:cvParidadeCompra>1</d2p1:cvParidadeCompra>
      <d2p1:cvParidadeVenda>1</d2p1:cvParidadeVenda>
      <d2p1:cvTaxaCompra>1</d2p1:cvTaxaCompra>
      <d2p1:cvTaxaVenda>1</d2p1:cvTaxaVenda>
    </d2p1:TaxaCambio>
  </Data>
  <Ex xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Ex>
  <Success>true</Success>
</ReturnCotacao>