CompanyCostCenter

GetCompanyCostCentersAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/cost-center
Request samples
Response samples
[
]

CreateCostCenterAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
costCenterName
string
costCenterCode
string
employeeUids
Array of strings <uuid>
type
string
Responses
204

No Content

post/api/companies/{companyUid}/cost-center
Request samples
{
}

GetCostCenterDetailsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
costCenterUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/cost-center/{costCenterUid}
Request samples
Response samples
{
}

DeleteCostCenterAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
costCenterUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

delete/api/companies/{companyUid}/cost-center/{costCenterUid}
Request samples

UpdateCostCenterAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
costCenterUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
costCenterName
string
costCenterCode
string
employeeUids
Array of strings <uuid>
type
string
Responses
204

No Content

patch/api/companies/{companyUid}/cost-center/{costCenterUid}
Request samples
{
}

GetCompanyCostCentersDtoAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
skip
integer <int32>
take
integer <int32>
searchPhrase
string
type
Array of strings
Responses
200

OK

post/api/companies/{companyUid}/cost-center/list
Request samples
{
}
Response samples
{
}

BulkDeleteCostCenterAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
Array
string <uuid>
Responses
200

OK

post/api/companies/{companyUid}/cost-center/bulk-delete
Request samples
[
]
Response samples
{
}