MoxiWorks Platform
.NET SDK For MoxiWorks Public API
|
Moxi Works Platform Office entities represent brokerage offices. More...
Public Member Functions | |
OfficeService (IMoxiWorksClient client) | |
async Task< Response< Office > > | GetOfficeAsync (string moxiWorksOfficeId, string moxiWorksCompanyId) |
Gets a Brockerages office More... | |
async Task< Response< OfficeResults > > | GetCompanyOfficesAsync (string moxiWorksCompanyId, int pageNumber=1) |
Get a list of Offices for a brockerage. More... | |
Properties | |
IMoxiWorksClient | Client [get, set] |
Properties inherited from MoxiWorks.Platform.Interfaces.IOfficeService | |
IMoxiWorksClient | Client [get, set] |
async Task<Response<OfficeResults> > MoxiWorks.Platform.OfficeService.GetCompanyOfficesAsync | ( | string | moxiWorksCompanyId, |
int | pageNumber = 1 |
||
) |
Get a list of Offices for a brockerage.
moxiWorksCompanyId | A valid Moxi Works Company ID. Use Company Endpoint to determine what moxi_works_company_id you can use. |
pageNumber | For queries with multi-page responses, use the page_number parameter to return data for specific pages. Data for page 1 is returned if this parameter is not included. Use this parameter if total_pages indicates that there is more than one page of data available. |
Implements MoxiWorks.Platform.Interfaces.IOfficeService.
async Task<Response<Office> > MoxiWorks.Platform.OfficeService.GetOfficeAsync | ( | string | moxiWorksOfficeId, |
string | moxiWorksCompanyId | ||
) |
Gets a Brockerages office
moxiWorksOfficeId | A valid Moxi Works Office ID. Use Office Index Endpoint for a list of all Office objects associated with a Company or use the moxi_works_office_id attribute returned in an Agent response. |
moxiWorksCompanyId | A valid Moxi Works Company ID. Use Company Endpoint to determine what moxi_works_company_id you can use. |
Implements MoxiWorks.Platform.Interfaces.IOfficeService.