POST api/CotacaoMoeda/Moeda

Request Information

URI Parameters

None.

Body Parameters

Moeda
NameDescriptionTypeAdditional information
cbAtivo

boolean

None.

ccCodigo

string

None.

ccIPClient

string

None.

ccNome

string

None.

ccSimbolo

string

None.

ccTipoMoeda

string

None.

cvIdMoeda

integer

None.

cdAtualizacao

date

None.

cvIdUsuarioSessao

integer

None.

ccNomeUsuarioSessao

string

None.

ccRet

string

None.

ccMensagem

string

None.

cvPageIndex

integer

None.

cvTotalRecordsPage

integer

None.

Validacao

Collection of ValidacaoRoboCotacao

None.

Request Formats

application/json, text/json

Sample:
{
  "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:26.0717003+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"
    }
  ]
}

application/xml, text/xml

Sample:
<Moeda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EY.Tax.RoboCotacao.Entity">
  <Validacao>
    <ValidacaoRoboCotacao>
      <ccChaveErro>sample string 2</ccChaveErro>
      <ccInstancia>sample string 1</ccInstancia>
      <ccMensagemErro>sample string 3</ccMensagemErro>
    </ValidacaoRoboCotacao>
    <ValidacaoRoboCotacao>
      <ccChaveErro>sample string 2</ccChaveErro>
      <ccInstancia>sample string 1</ccInstancia>
      <ccMensagemErro>sample string 3</ccMensagemErro>
    </ValidacaoRoboCotacao>
  </Validacao>
  <ccIPClient i:nil="true" />
  <ccMensagem>sample string 8</ccMensagem>
  <ccNomeUsuarioSessao>sample string 6</ccNomeUsuarioSessao>
  <ccRet>sample string 7</ccRet>
  <cdAtualizacao>2024-11-07T21:24:26.0717003+00:00</cdAtualizacao>
  <cvIdUsuarioSessao>1</cvIdUsuarioSessao>
  <cvPageIndex>1</cvPageIndex>
  <cvTotalRecordsPage>1</cvTotalRecordsPage>
  <cbAtivo>true</cbAtivo>
  <ccCodigo>sample string 1</ccCodigo>
  <ccIPClient>sample string 2</ccIPClient>
  <ccNome>sample string 3</ccNome>
  <ccSimbolo>sample string 4</ccSimbolo>
  <ccTipoMoeda>sample string 5</ccTipoMoeda>
  <cvIdMoeda>1</cvIdMoeda>
</Moeda>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnMoeda
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Collection of Moeda

None.

Ex

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "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:26.0717003+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"
        }
      ]
    },
    {
      "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:26.0717003+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"
        }
      ]
    }
  ],
  "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:
<ReturnMoeda 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: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:26.0717003+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: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:26.0717003+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>
  </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>
</ReturnMoeda>