GET API/NotaFiscalADE/ListarUF/{codPais}
Retorna uma lista as UFs de acordo com o País.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
codPais | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwRefStateName | Description | Type | Additional information |
---|---|---|---|
StateGkey | decimal number |
None. |
|
StateCode | string |
None. |
|
StateName | string |
None. |
|
StateCntryCode | string |
None. |
|
Instancia | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
Estado | System.Data.DataRowState |
None. |
|
Filtrado | boolean |
None. |
|
Original | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
FoiAlterado | boolean |
None. |
|
Lista | Collection of Object |
None. |
|
EdicaoIniciada | boolean |
None. |
|
AdicaoPendente | boolean |
None. |
|
ErroValidacao | string |
None. |
|
ErroValidacaoItem | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StateGkey": 1.0, "StateCode": "sample string 2", "StateName": "sample string 3", "StateCntryCode": "sample string 4" }, { "StateGkey": 1.0, "StateCode": "sample string 2", "StateName": "sample string 3", "StateCntryCode": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfVwRefState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo"> <VwRefState> <StateGkey xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</StateGkey> <StateCode xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</StateCode> <StateName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 3</StateName> <StateCntryCode xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</StateCntryCode> </VwRefState> <VwRefState> <StateGkey xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</StateGkey> <StateCode xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</StateCode> <StateName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 3</StateName> <StateCntryCode xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</StateCntryCode> </VwRefState> </ArrayOfVwRefState>