契約情報取得
GET
/contract
const url = 'https://api.smaregi.dev/TARGET-CONTRACT-ID/timecard/contract';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.smaregi.dev/TARGET-CONTRACT-ID/timecard/contract \ --header 'Authorization: Bearer <token>'契約情報を取得します。
対象
- プラン
- スタンダード
- プレミアム
- プレミアムプラス
- エンタープライズ
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”取得成功
Media typeapplication/json
object
maxActiveStaffCount
required
利用上限人数
integer
activeStaffCount
required
現在の利用従業員数
integer
Example
{ "maxActiveStaffCount": 100, "activeStaffCount": 75}