GET api/Term/GetTerms?franchiseeId={franchiseeId}
Gets terms given FranchiseeId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
franchiseeId |
franchiseeId from venue |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of terms for given franchisee
Collection of BO.Models.Terms.TermName | Description | Type | Additional information |
---|---|---|---|
EndDate | date |
None. |
|
FranchiseeId | integer |
None. |
|
Name | string |
None. |
|
StartDate | date |
None. |
|
TermId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "2", "EndDate": "2024-11-07T09:33:45.7805165+08:00", "FranchiseeId": 2, "Name": "sample string 3", "StartDate": "2024-11-07T09:33:45.7805165+08:00", "TermId": 5 }, { "$ref": "2" } ]
application/xml, text/xml
Sample:
<ArrayOfTerm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models.Terms"> <Term> <EndDate>2024-11-07T09:33:45.7805165+08:00</EndDate> <FranchiseeId>2</FranchiseeId> <Name>sample string 3</Name> <StartDate>2024-11-07T09:33:45.7805165+08:00</StartDate> <TermId>5</TermId> </Term> <Term> <EndDate>2024-11-07T09:33:45.7805165+08:00</EndDate> <FranchiseeId>2</FranchiseeId> <Name>sample string 3</Name> <StartDate>2024-11-07T09:33:45.7805165+08:00</StartDate> <TermId>5</TermId> </Term> </ArrayOfTerm>