Create Project
This API is used to create a new project
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
descriptionstringOptional
idstringOptional
namestring · min: 5Required
network_numberstringOptional
openstack_project_idstringOptional
organization_idstringOptional
payment_methodstringOptional
postpaid_typestringOptional
regionstringOptional
statusintegerOptional
vat_addressstringOptional
vat_idstringOptional
vat_namestringOptional
VClusterCluster string json:"vcluster_cluster" validate:"xss_clean" conform:"trim"
voucher_discount_codestringOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successpost/core/user/projects
POST /core/user/projects HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 354
{
"description": "text",
"id": "text",
"name": "text",
"network_number": "text",
"openstack_project_id": "text",
"organization_id": "text",
"payment_method": "text",
"postpaid_type": "text",
"region": "text",
"service_instance": [
{
"network_number": "text",
"product_id": "text"
}
],
"status": 1,
"vat_address": "text",
"vat_id": "text",
"vat_name": "text",
"voucher_discount_code": "text"
}200
Successful Response
{
"code": 200,
"data": {
"menu_roles": [
{
"children": [
"[Circular Reference]"
],
"icon": "text",
"link": "text",
"previlage": "text",
"privilage_name": "text",
"text": "text",
"type": "text"
}
],
"organization": {
"address": "text",
"city": "text",
"cluster_type": "text",
"country": "text",
"created_at": "text",
"crm_ca_number": "text",
"dekaprime_organization_id": "text",
"deletedAt": "text",
"details": "text",
"email": "text",
"exclude_org_topup": true,
"exclude_report_topups": true,
"id": "text",
"is_personal": true,
"is_rafay_org_created": true,
"name": "text",
"nitku": "text",
"npwp_corporate": "text",
"npwp_corporate_address": "text",
"npwp_corporate_name": "text",
"openstack_prefix": 1,
"organization": {
"account_balance_detail": [
{
"account_balance_id": "text",
"amount": 1,
"created_at": "text",
"created_by": "text",
"current_balance": 1,
"deletedAt": "text",
"description": "text",
"id": 1,
"invoice_id": "text",
"previous_balance": 1,
"source": "text",
"transaction": {
"amount": 1,
"auth_ccode": "text",
"created_at": "text",
"created_by": "text",
"deletedAt": "text",
"description": "text",
"err_desc": "text",
"id": 1,
"invoice_id": "text",
"issuer_bank": "text",
"merchant_code": "text",
"organization_id": "text",
"payment_account": "text",
"payment_date": "text",
"payment_gateway": "text",
"payment_id": 1,
"ppn_percentage": 1,
"ppn_value": 1,
"project_id": "text",
"ref_no": "text",
"source": "text",
"source_type": "text",
"status": "text",
"sub_amount": 1,
"sync_crd": true,
"trans_id": "text",
"type": "text",
"updated_at": "text",
"user_type": "text"
},
"transaction_id": 1,
"type": "text",
"updated_at": "text"
}
],
"balance": 1,
"created_at": "text",
"id": "text",
"organization_id": "text",
"project_id": "text",
"type": "text",
"updated_at": "text"
},
"organization_code": 1,
"phone_number_org": "text",
"pic": "text",
"prefix": "text",
"prefix_bussiness_phone_number": "text",
"prefix_personal_phone_number": "text",
"region": "text",
"sales": {
"created_at": "text",
"deletedAt": "text",
"description": "text",
"email": "text",
"fullname": "text",
"id": "text",
"is_default": true,
"is_verified": true,
"nik": "text",
"phone_number": "text",
"status": "text",
"updated_at": "text"
},
"sales_id": "text",
"segment": "text",
"service_activation_date": "text",
"status": 1,
"subsegment": "text",
"suspend_date": "text",
"suspend_scheduler": {
"created_at": "text",
"created_by": "text",
"deleted_at": "text",
"execution_time": "text",
"id": "text",
"organization": {
"address": "text",
"city": "text",
"cluster_type": "text",
"country": "text",
"created_at": "text",
"crm_ca_number": "text",
"dekaprime_organization_id": "text",
"deletedAt": "text",
"details": "text",
"email": "text",
"exclude_org_topup": true,
"exclude_report_topups": true,
"id": "text",
"is_personal": true,
"is_rafay_org_created": true,
"name": "text",
"nitku": "text",
"npwp_corporate": "text",
"npwp_corporate_address": "text",
"npwp_corporate_name": "text",
"openstack_prefix": 1,
"organization": {
"account_balance_detail": [
{
"account_balance_id": "text",
"amount": 1,
"created_at": "text",
"created_by": "text",
"current_balance": 1,
"deletedAt": "text",
"description": "text",
"id": 1,
"invoice_id": "text",
"previous_balance": 1,
"source": "text",
"transaction": {
"amount": 1,
"auth_ccode": "text",
"created_at": "text",
"created_by": "text",
"deletedAt": "text",
"description": "text",
"err_desc": "text",
"id": 1,
"invoice_id": "text",
"issuer_bank": "text",
"merchant_code": "text",
"organization_id": "text",
"payment_account": "text",
"payment_date": "text",
"payment_gateway": "text",
"payment_id": 1,
"ppn_percentage": 1,
"ppn_value": 1,
"project_id": "text",
"ref_no": "text",
"source": "text",
"source_type": "text",
"status": "text",
"sub_amount": 1,
"sync_crd": true,
"trans_id": "text",
"type": "text",
"updated_at": "text",
"user_type": "text"
},
"transaction_id": 1,
"type": "text",
"updated_at": "text"
}
],
"balance": 1,
"created_at": "text",
"id": "text",
"organization_id": "text",
"project_id": "text",
"type": "text",
"updated_at": "text"
},
"organization_code": 1,
"phone_number_org": "text",
"pic": "text",
"prefix": "text",
"prefix_bussiness_phone_number": "text",
"prefix_personal_phone_number": "text",
"region": "text",
"sales": {
"created_at": "text",
"deletedAt": "text",
"description": "text",
"email": "text",
"fullname": "text",
"id": "text",
"is_default": true,
"is_verified": true,
"nik": "text",
"phone_number": "text",
"status": "text",
"updated_at": "text"
},
"sales_id": "text",
"segment": "text",
"service_activation_date": "text",
"status": 1,
"subsegment": "text",
"suspend_date": "text",
"suspend_scheduler": "[Circular Reference]",
"suspend_type": "text",
"termination_date": "text",
"type": "text",
"updated_at": "text",
"user_id": "text",
"v_cluster_project_name": "text",
"v_cluster_project_namespace": "text",
"zip": "text"
},
"organization_id": "text",
"pic": "text",
"reason": "text",
"status": "text",
"updated_at": "text",
"user": {
"address": "text",
"created_at": "text",
"dekaprime_user_id": "text",
"deleted_at": "text",
"email": "text",
"enforce_password": true,
"expiredDatePassword": "text",
"firstname": "text",
"fullname": "text",
"id": "text",
"is_creator": true,
"is_identity_verified": true,
"is_mfa_active": true,
"last_login": "text",
"lastname": "text",
"npwp_privacy": "text",
"only_google_sso": true,
"only_microsoft_sso": true,
"openstack_data": "text",
"organization": "[Circular Reference]",
"organization_id": "text",
"organization_role": {
"created_at": "text",
"deleted_at": "text",
"description": "text",
"id": 1,
"is_default": true,
"name": "text",
"organization_id": "text",
"privilages": [
{
"disable": true,
"editor": true,
"name": "text",
"suspend": true,
"terminated": true,
"viewer": true
}
],
"updated_at": "text"
},
"organization_role_id": 1,
"phone_number": "text",
"photo": "text",
"project": "[Circular Reference]",
"reason_rejected": "text",
"role": {
"created_at": "text",
"deleted_at": "text",
"id": 1,
"name": "text",
"updated_at": "text"
},
"role_id": 1,
"scim_provisioned": true,
"status": "text",
"super_admin_role_id": "text",
"super_admin_role_name": "text",
"type": "text",
"updated_at": "text",
"user_type": "text",
"verified_at": "text"
},
"user_id": "text"
},
"suspend_type": "text",
"termination_date": "text",
"type": "text",
"updated_at": "text",
"user_id": "text",
"v_cluster_project_name": "text",
"v_cluster_project_namespace": "text",
"zip": "text"
},
"project_code": "text"
},
"message": "Success"
}Last updated