GET api/Outlet/GetAll
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetAllOutletResponseName | Description | Type | Additional information |
---|---|---|---|
AllOutletList | Collection of OutletModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AllOutletList": [ { "ID": 1, "Name": "sample string 2", "EmailAddress": "sample string 3", "PhoneNo": "sample string 4", "CityID": 1, "StateID": 1, "CountryID": 1, "Address": "sample string 5", "City": "sample string 6", "IsActive": true, "CreatedByUserID": 1, "CreatedAt": "2025-01-22T21:05:13.7312472-06:00", "UpdatedAt": "2025-01-22T21:05:13.7312472-06:00", "State": "sample string 7", "Country": "sample string 8", "UpdatePermission": "sample string 9" }, { "ID": 1, "Name": "sample string 2", "EmailAddress": "sample string 3", "PhoneNo": "sample string 4", "CityID": 1, "StateID": 1, "CountryID": 1, "Address": "sample string 5", "City": "sample string 6", "IsActive": true, "CreatedByUserID": 1, "CreatedAt": "2025-01-22T21:05:13.7312472-06:00", "UpdatedAt": "2025-01-22T21:05:13.7312472-06:00", "State": "sample string 7", "Country": "sample string 8", "UpdatePermission": "sample string 9" } ], "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<GetAllOutletResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText> <AllOutletList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:OutletModel> <d2p1:Address>sample string 5</d2p1:Address> <d2p1:City>sample string 6</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:CountryID>1</d2p1:CountryID> <d2p1:CreatedAt>2025-01-22T21:05:13.7312472-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:EmailAddress>sample string 3</d2p1:EmailAddress> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PhoneNo>sample string 4</d2p1:PhoneNo> <d2p1:State>sample string 7</d2p1:State> <d2p1:StateID>1</d2p1:StateID> <d2p1:UpdatePermission>sample string 9</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T21:05:13.7312472-06:00</d2p1:UpdatedAt> </d2p1:OutletModel> <d2p1:OutletModel> <d2p1:Address>sample string 5</d2p1:Address> <d2p1:City>sample string 6</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:CountryID>1</d2p1:CountryID> <d2p1:CreatedAt>2025-01-22T21:05:13.7312472-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:EmailAddress>sample string 3</d2p1:EmailAddress> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PhoneNo>sample string 4</d2p1:PhoneNo> <d2p1:State>sample string 7</d2p1:State> <d2p1:StateID>1</d2p1:StateID> <d2p1:UpdatePermission>sample string 9</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T21:05:13.7312472-06:00</d2p1:UpdatedAt> </d2p1:OutletModel> </AllOutletList> </GetAllOutletResponse>