POST api/OuterGateMerchantAggregator/StateActivation
Request Information
URI Parameters
None.
Body Parameters
MerchantAggregatorStatesIn| Name | Description | Type | Additional information |
|---|---|---|---|
| vat_number_list | Collection of string |
Required |
Request Formats
application/json, text/json
Sample:
{
"vat_number_list": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<MerchantAggregatorStatesIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.MerchantAggregator.Api.Dto">
<VatNumberList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</VatNumberList>
</MerchantAggregatorStatesIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MerchantAggregatorStatesOut| Name | Description | Type | Additional information |
|---|---|---|---|
| VATNumber | string |
None. |
|
| ID | integer |
None. |
|
| company_name | string |
None. |
|
| IBAN | string |
None. |
|
| status | boolean |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VATNumber": "sample string 1",
"ID": 2,
"company_name": "sample string 3",
"IBAN": "sample string 4",
"status": true
},
{
"VATNumber": "sample string 1",
"ID": 2,
"company_name": "sample string 3",
"IBAN": "sample string 4",
"status": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMerchantAggregatorStatesOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.MerchantAggregator.Api.Dto">
<MerchantAggregatorStatesOut>
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 7</ErrorMessage>
<Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
<CompanyName>sample string 3</CompanyName>
<Iban>sample string 4</Iban>
<Id>2</Id>
<Status>true</Status>
<VatNumber>sample string 1</VatNumber>
</MerchantAggregatorStatesOut>
<MerchantAggregatorStatesOut>
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 7</ErrorMessage>
<Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
<CompanyName>sample string 3</CompanyName>
<Iban>sample string 4</Iban>
<Id>2</Id>
<Status>true</Status>
<VatNumber>sample string 1</VatNumber>
</MerchantAggregatorStatesOut>
</ArrayOfMerchantAggregatorStatesOut>