POST api/cico/cashIn
Request Information
URI Parameters
None.
Body Parameters
CashInRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| noAccountGame | string |
None. |
|
| fiscalCode | string |
Required Matching regular expression pattern: ^[A-Z0-9]{16}$ |
|
| transferAmount | decimal number |
Required |
|
| notes | string |
None. |
|
| dui | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"noAccountGame": "sample string 1",
"fiscalCode": "sample string 2",
"transferAmount": 3.0,
"notes": "sample string 4",
"dui": "sample string 5"
}
application/xml, text/xml
Sample:
<CashInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Cico.Api.Dto"> <DUI>sample string 5</DUI> <FiscalCode>sample string 2</FiscalCode> <Notes>sample string 4</Notes> <TransferAmount>3</TransferAmount> <NoAccountGame>sample string 1</NoAccountGame> </CashInRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CashInResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| Success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentId": 1,
"Success": true,
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<CashInResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Cico.Api.Dto">
<Message xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 3</Message>
<OutcomeMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">
<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="" />
</OutcomeMessage>
<Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
<PaymentId>1</PaymentId>
</CashInResponse>