POST api/GetIncomeWithDetailList
Request Information
URI Parameters
None.
Body Parameters
RequestName | Description | Type | Additional information |
---|---|---|---|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": "sample string 1", "userId": 2, "validationKey": "sample string 3" }
application/xml, text/xml
Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 1</User> <UserId>2</UserId> <ValidationKey>sample string 3</ValidationKey> </Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IncomeDetailListResponseListName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of IncomeDetailListResponse |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "itemList": [ { "itemList": [ { "idIncome": 1, "income": "sample string 2", "idProduct": 3, "product": "sample string 4", "quantity": 5, "distributedQuantity": 6, "pendingQuantity": 7, "isDistributed": true, "itemState": 9, "id": 10, "isInUse": true, "resultCode": 12, "resultMessage": "sample string 13", "errorMessage": "sample string 14" }, { "idIncome": 1, "income": "sample string 2", "idProduct": 3, "product": "sample string 4", "quantity": 5, "distributedQuantity": 6, "pendingQuantity": 7, "isDistributed": true, "itemState": 9, "id": 10, "isInUse": true, "resultCode": 12, "resultMessage": "sample string 13", "errorMessage": "sample string 14" } ], "idIncomeType": 1, "incomeType": "sample string 2", "idIncomeState": 3, "incomeState": "sample string 4", "idIncomeOrigin": 5, "incomeOrigin": "sample string 6", "idIncomeProvider": 7, "incomeProvider": "sample string 8", "number": "sample string 9", "documentNumber": "sample string 10", "description": "sample string 11", "incomeDate": "2024-11-30T23:57:50.3142769-05:00", "creationDate": "2024-11-30T23:57:50.3142769-05:00", "isDistributed": true, "idClient": 15, "id": 16, "isInUse": true, "resultCode": 18, "resultMessage": "sample string 19", "errorMessage": "sample string 20" }, { "itemList": [ { "idIncome": 1, "income": "sample string 2", "idProduct": 3, "product": "sample string 4", "quantity": 5, "distributedQuantity": 6, "pendingQuantity": 7, "isDistributed": true, "itemState": 9, "id": 10, "isInUse": true, "resultCode": 12, "resultMessage": "sample string 13", "errorMessage": "sample string 14" }, { "idIncome": 1, "income": "sample string 2", "idProduct": 3, "product": "sample string 4", "quantity": 5, "distributedQuantity": 6, "pendingQuantity": 7, "isDistributed": true, "itemState": 9, "id": 10, "isInUse": true, "resultCode": 12, "resultMessage": "sample string 13", "errorMessage": "sample string 14" } ], "idIncomeType": 1, "incomeType": "sample string 2", "idIncomeState": 3, "incomeState": "sample string 4", "idIncomeOrigin": 5, "incomeOrigin": "sample string 6", "idIncomeProvider": 7, "incomeProvider": "sample string 8", "number": "sample string 9", "documentNumber": "sample string 10", "description": "sample string 11", "incomeDate": "2024-11-30T23:57:50.3142769-05:00", "creationDate": "2024-11-30T23:57:50.3142769-05:00", "isDistributed": true, "idClient": 15, "id": 16, "isInUse": true, "resultCode": 18, "resultMessage": "sample string 19", "errorMessage": "sample string 20" } ], "resultCode": 1, "resultMessage": "sample string 2", "errorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<IncomeDetailListResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Income"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage> <ItemList> <IncomeDetailListResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 20</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">18</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 19</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <CreationDate>2024-11-30T23:57:50.3142769-05:00</CreationDate> <Description>sample string 11</Description> <DocumentNumber>sample string 10</DocumentNumber> <IdClient>15</IdClient> <IdIncomeOrigin>5</IdIncomeOrigin> <IdIncomeProvider>7</IdIncomeProvider> <IdIncomeState>3</IdIncomeState> <IdIncomeType>1</IdIncomeType> <IncomeDate>2024-11-30T23:57:50.3142769-05:00</IncomeDate> <IncomeOrigin>sample string 6</IncomeOrigin> <IncomeProvider>sample string 8</IncomeProvider> <IncomeState>sample string 4</IncomeState> <IncomeType>sample string 2</IncomeType> <IsDistributed>true</IsDistributed> <Number>sample string 9</Number> <ItemList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.IncomeDetail"> <d4p1:IncomeDetailResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">12</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">10</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <d4p1:DistributedQuantity>6</d4p1:DistributedQuantity> <d4p1:IdIncome>1</d4p1:IdIncome> <d4p1:IdProduct>3</d4p1:IdProduct> <d4p1:Income>sample string 2</d4p1:Income> <d4p1:IsDistributed>true</d4p1:IsDistributed> <d4p1:ItemState>9</d4p1:ItemState> <d4p1:PendingQuantity>7</d4p1:PendingQuantity> <d4p1:Product>sample string 4</d4p1:Product> <d4p1:Quantity>5</d4p1:Quantity> </d4p1:IncomeDetailResponse> <d4p1:IncomeDetailResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">12</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">10</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <d4p1:DistributedQuantity>6</d4p1:DistributedQuantity> <d4p1:IdIncome>1</d4p1:IdIncome> <d4p1:IdProduct>3</d4p1:IdProduct> <d4p1:Income>sample string 2</d4p1:Income> <d4p1:IsDistributed>true</d4p1:IsDistributed> <d4p1:ItemState>9</d4p1:ItemState> <d4p1:PendingQuantity>7</d4p1:PendingQuantity> <d4p1:Product>sample string 4</d4p1:Product> <d4p1:Quantity>5</d4p1:Quantity> </d4p1:IncomeDetailResponse> </ItemList> </IncomeDetailListResponse> <IncomeDetailListResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 20</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">18</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 19</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <CreationDate>2024-11-30T23:57:50.3142769-05:00</CreationDate> <Description>sample string 11</Description> <DocumentNumber>sample string 10</DocumentNumber> <IdClient>15</IdClient> <IdIncomeOrigin>5</IdIncomeOrigin> <IdIncomeProvider>7</IdIncomeProvider> <IdIncomeState>3</IdIncomeState> <IdIncomeType>1</IdIncomeType> <IncomeDate>2024-11-30T23:57:50.3142769-05:00</IncomeDate> <IncomeOrigin>sample string 6</IncomeOrigin> <IncomeProvider>sample string 8</IncomeProvider> <IncomeState>sample string 4</IncomeState> <IncomeType>sample string 2</IncomeType> <IsDistributed>true</IsDistributed> <Number>sample string 9</Number> <ItemList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.IncomeDetail"> <d4p1:IncomeDetailResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">12</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">10</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <d4p1:DistributedQuantity>6</d4p1:DistributedQuantity> <d4p1:IdIncome>1</d4p1:IdIncome> <d4p1:IdProduct>3</d4p1:IdProduct> <d4p1:Income>sample string 2</d4p1:Income> <d4p1:IsDistributed>true</d4p1:IsDistributed> <d4p1:ItemState>9</d4p1:ItemState> <d4p1:PendingQuantity>7</d4p1:PendingQuantity> <d4p1:Product>sample string 4</d4p1:Product> <d4p1:Quantity>5</d4p1:Quantity> </d4p1:IncomeDetailResponse> <d4p1:IncomeDetailResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">12</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ResultMessage> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">10</Id> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <d4p1:DistributedQuantity>6</d4p1:DistributedQuantity> <d4p1:IdIncome>1</d4p1:IdIncome> <d4p1:IdProduct>3</d4p1:IdProduct> <d4p1:Income>sample string 2</d4p1:Income> <d4p1:IsDistributed>true</d4p1:IsDistributed> <d4p1:ItemState>9</d4p1:ItemState> <d4p1:PendingQuantity>7</d4p1:PendingQuantity> <d4p1:Product>sample string 4</d4p1:Product> <d4p1:Quantity>5</d4p1:Quantity> </d4p1:IncomeDetailResponse> </ItemList> </IncomeDetailListResponse> </ItemList> </IncomeDetailListResponseList>