GET api/WebApiOdata/GetAllLedgers?providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LedgerViewModelName | Description | Type | Additional information |
---|---|---|---|
LedgerID | integer |
None. |
|
LedgerName | string |
None. |
|
LedgerDisplayName | string |
None. |
|
PaymentType | integer |
None. |
|
LedgerDirection | boolean |
None. |
|
StartRuleId | integer |
None. |
|
Status | boolean |
None. |
|
DefaultNumbers | string |
None. |
|
ProviderID | integer |
None. |
|
LedgerDirectionDisplay | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "LedgerID": 1, "LedgerName": "sample string 2", "LedgerDisplayName": "sample string 3", "PaymentType": 4, "LedgerDirection": true, "StartRuleId": 6, "Status": true, "DefaultNumbers": "sample string 8", "ProviderID": 9, "LedgerDirectionDisplay": "Down" }, { "LedgerID": 1, "LedgerName": "sample string 2", "LedgerDisplayName": "sample string 3", "PaymentType": 4, "LedgerDirection": true, "StartRuleId": 6, "Status": true, "DefaultNumbers": "sample string 8", "ProviderID": 9, "LedgerDirectionDisplay": "Down" } ]
application/xml, text/xml
Sample:
<ArrayOfLedgerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Settings"> <LedgerViewModel> <DefaultNumbers>sample string 8</DefaultNumbers> <LedgerDirection>true</LedgerDirection> <LedgerDisplayName>sample string 3</LedgerDisplayName> <LedgerID>1</LedgerID> <LedgerName>sample string 2</LedgerName> <PaymentType>4</PaymentType> <ProviderID>9</ProviderID> <StartRuleId>6</StartRuleId> <Status>true</Status> </LedgerViewModel> <LedgerViewModel> <DefaultNumbers>sample string 8</DefaultNumbers> <LedgerDirection>true</LedgerDirection> <LedgerDisplayName>sample string 3</LedgerDisplayName> <LedgerID>1</LedgerID> <LedgerName>sample string 2</LedgerName> <PaymentType>4</PaymentType> <ProviderID>9</ProviderID> <StartRuleId>6</StartRuleId> <Status>true</Status> </LedgerViewModel> </ArrayOfLedgerViewModel>