Update API Reference
@@ -78,6 +78,39 @@ Only one may be used, as no conflict is permitted in same request
|
|||||||
{ "cost_center": "CC-1100"},
|
{ "cost_center": "CC-1100"},
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### `POST /department/activity`
|
||||||
|
|
||||||
|
Setting activity by identifier.
|
||||||
|
|
||||||
|
**Request bodys examples:**
|
||||||
|
|
||||||
|
Only one may be used, as no conflict is permitted in same request
|
||||||
|
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "ENG",
|
||||||
|
"active": false
|
||||||
|
},
|
||||||
|
]
|
||||||
|
```
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "Marketing",
|
||||||
|
"active": true
|
||||||
|
},
|
||||||
|
]
|
||||||
|
```
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"cost_center": "CC-1100",
|
||||||
|
"active": true
|
||||||
|
},
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user