GET api/Term/GetTerm?termId={termId}&franchiseeId={franchiseeId}

Gets a term given termId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
termId

termId

integer

Required

franchiseeId

franchiseeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

A term object

BO.Models.Terms.Term
NameDescriptionTypeAdditional information
EndDate

date

None.

FranchiseeId

integer

None.

Name

string

None.

StartDate

date

None.

TermId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EndDate": "2024-11-07T09:31:33.0664904+08:00",
  "FranchiseeId": 2,
  "Name": "sample string 3",
  "StartDate": "2024-11-07T09:31:33.0664904+08:00",
  "TermId": 5
}

application/xml, text/xml

Sample:
<Term xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models.Terms">
  <EndDate>2024-11-07T09:31:33.0664904+08:00</EndDate>
  <FranchiseeId>2</FranchiseeId>
  <Name>sample string 3</Name>
  <StartDate>2024-11-07T09:31:33.0664904+08:00</StartDate>
  <TermId>5</TermId>
</Term>