### 로그인

# @name login
POST {{baseUrl}}/api/users/login HTTP/1.1
content-type: application/json

{
    "siteId": 115,
    "userId": "icontrols115",
    "passwd": "icontrols123"
}

@token = {{login.response.body.AccessToken}}

### 목록

GET {{baseUrl}}/api/Equipment
    ?limit=20&siteId=115
    &sort.field=EquipmentId&sort.order=desc
    //&conditions[0].field=Name&conditions[0].op=cn&conditions[0].value=w
Authorization: Bearer {{token}}

### 목록(앱)

GET {{baseUrl}}/api/app/Equipment
    ?limit=20&siteId=115
    &sort.field=EquipmentId&sort.order=desc
    //&conditions[0].field=Name&conditions[0].op=cn&conditions[0].value=w
Authorization: Bearer {{token}}

### 상세
GET {{baseUrl}}/api/app/Equipment/1/2243
Authorization: Bearer {{token}}

### 등록
PUT {{baseUrl}}/api/app/Equipment
Content-Type: application/json
Authorization: Bearer {{token}}

{
    "Name":"123"
}

### 히스토리

GET {{baseUrl}}/api/app/EquipmentHistory
    ?limit=20&siteId=1
    //&conditions[0].field=Name&conditions[0].op=cn&conditions[0].value=w
Authorization: Bearer {{token}}

### 대여

GET {{baseUrl}}/api/EquipmentRentInfo
    ?limit=20&siteId=1
    //&conditions[0].field=Name&conditions[0].op=cn&conditions[0].value=w
Authorization: Bearer {{token}}

### 대여 상세
GET {{baseUrl}}/api/EquipmentRentInfo/1/5270
Authorization: Bearer {{token}}

