API ReferenceFinance accounts
Import child account
Imports a child account for the given parent
AuthorizationBearer <token>
In: header
Path Parameters
parentId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/finance/accounts/import-child/string" \ -H "Content-Type: application/json" \ -d '{ "children": [ "string" ], "currency": "string", "name": "string", "number": "string", "type": "ASSET" }'{
"children": [
"string"
],
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"currency": "string",
"id": "string",
"isRoot": true,
"name": "string",
"number": "string",
"parentId": "string",
"root": true,
"subsidiaryId": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"tenantId": "string",
"type": "ASSET",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}