### GET /api/v2/views/Location Source: https://docs.restaurant365.com/docs/restaurant365-odata-connector Retrieve location information. ```APIDOC ## GET /api/v2/views/Location ### Description Retrieve location records filtered by ID, number, or legal entity. ### Method GET ### Endpoint https://odata.restaurant365.net/api/v2/views/Location ### Query Parameters - **$filter** (string) - Optional - OData filter expression (e.g., locationId eq xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, contains(name, 'Food')) ``` -------------------------------- ### Create Journal Entries via API Source: https://docs.restaurant365.com/docs/r365-api-connector Submit journal entries to the system. Debits and credits must be balanced for the request to succeed. ```bash curl --request POST \ --url 'https://[YOUR-UNIQUE-CUSTOMER-URL].restaurant365.com/APIv1/JournalEntries \ --header 'Authorization: InsertYourBearerTokenKeyHere' \ --header 'Content-Type: application/json' \ --data { "BatchId": "String", "userId": "String", "journalEntries": [ { "JENumber": "String", //Optional (R365 will assign an autogenerated number if not included) "Date": "String", //Required "JEComment": "Testing API", //Optional "JELocation": "100", //Required "Account": "1000", //Required "Debit": 0, //Required Debits and Credits must be balanced "Credit": 100, //Required Debits and Credits must be balanced "DetailLocation": "100", //Required "PayrollJournalEntry": true, //Required only for Payroll JE's. DO NOT include if JE is not for payroll "PayrollStartDate": "9/16/2020", //Required only for Payroll JE's. DO NOT include if JE is not for payroll "PayrollEndDate": "9/29/2020" //Required only for Payroll JE's. DO NOT include if JE is not for payroll } ] } ``` ```json { "errors": [ { "reason": "String", "solution": "String" } ], "success": [ { "Count": 0 } ], "failures": [ { "record": "String", "reason": "String", "solution": "String" } ] } ```