ves-io-schema-signup-CustomAPI-Get
On This Page:
Examples of performing signup CustomAPI Get
Usecase:
Get signup
Request:
Request using vesctl:
vesctl request rpc signup.CustomAPI.Get -i request.yaml --uri /no_auth/signup/signup-1234-5678-9012-3456 --http-method GET
where file request.yaml has following contents:
name: signup-1234-5678-9012-3456
vesctl yaml response:
object:
metadata:
annotations: {}
labels: {}
name: signup-1234-5678-9012-3456
namespace: system
uid: 892f201d-4138-4214-a2e1-58d80c222f55
spec:
gcSpec:
billingAddress: {}
company:
contacts: []
groups: []
companyContact: {}
companyName: test
contactNumber: "123456789"
currency: USD
customer:
contacts: []
groups: []
customerContact: {}
domain: testdomain
email: test@test.com
firstName: Test
infraprotectInfo:
prefixes:
- 0.0.0.0/0
uuid: 1a1b7a1c-f598-4d81-99e2-14e86e372fb5
lastName: Test
locale: en_US
paymentProviderToken: tok_1234567899
supportPlanName: support-plan-1
token: ed865e78-fafc-4b64-a65d-cf7fa2e9d776
tosAccepted: "1234567"
tosVersion: v1.2
usagePlanName: usage-plan-1
systemMetadata:
finalizers: []
labels: {}
namespace: []
tenant: ves-io
uid: 892f201d-4138-4214-a2e1-58d80c222f55
status: []
Request using curl:
curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build3109416560_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' 'https://localhost:62416/no_auth/signup/signup-1234-5678-9012-3456?name=signup-1234-5678-9012-3456'
curl response:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:07:42 GMT
Vary: Accept-Encoding
{
"object": {
"metadata": {
"name": "signup-1234-5678-9012-3456",
"namespace": "system",
"uid": "892f201d-4138-4214-a2e1-58d80c222f55",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "892f201d-4138-4214-a2e1-58d80c222f55",
"creation_timestamp": null,
"deletion_timestamp": null,
"modification_timestamp": null,
"initializers": null,
"finalizers": [
],
"tenant": "ves-io",
"creator_class": "",
"creator_id": "",
"creator_cookie": "",
"trace_info": "",
"object_index": 0,
"namespace": [
],
"owner_view": null,
"sre_disable": false,
"vtrp_id": "",
"vtrp_stale": false,
"labels": {
}
},
"spec": {
"gc_spec": {
"locale": "en_US",
"type": "UNKNOWN",
"first_name": "Test",
"last_name": "Test",
"email": "test@test.com",
"contact_number": "123456789",
"domain": "testdomain",
"currency": "USD",
"payment_provider_token": "tok_1234567899",
"billing_address": {
"contact_type": "MAILING",
"phone_number": "",
"address1": "",
"address2": "",
"city": "",
"county": "",
"state": "",
"state_code": "",
"country": "",
"zip_code": ""
},
"tos_accepted": "1234567",
"customer": {
"type": "USER",
"locale": "",
"first_name": "",
"last_name": "",
"email": "",
"contacts": [
],
"tos_accepted": "",
"domain_owner": false,
"idm_type": "SSO",
"state": "StateUndefined",
"last_login_timestamp": null,
"groups": [
],
"tos_version": "",
"tos_accepted_at": null,
"sync_mode": "SELF"
},
"customer_contact": {
"contact_type": "MAILING",
"phone_number": "",
"address1": "",
"address2": "",
"city": "",
"county": "",
"state": "",
"state_code": "",
"country": "",
"zip_code": ""
},
"company_name": "test",
"company": {
"type": "USER",
"locale": "",
"first_name": "",
"last_name": "",
"email": "",
"contacts": [
],
"tos_accepted": "",
"domain_owner": false,
"idm_type": "SSO",
"state": "StateUndefined",
"last_login_timestamp": null,
"groups": [
],
"tos_version": "",
"tos_accepted_at": null,
"sync_mode": "SELF"
},
"company_contact": {
"contact_type": "MAILING",
"phone_number": "",
"address1": "",
"address2": "",
"city": "",
"county": "",
"state": "",
"state_code": "",
"country": "",
"zip_code": ""
},
"token": "ed865e78-fafc-4b64-a65d-cf7fa2e9d776",
"support_plan_name": "support-plan-1",
"usage_plan_name": "usage-plan-1",
"tos_version": "v1.2",
"tax_exempt": "TAX_UNKNOWN",
"infraprotect_info": {
"asn": 0,
"uuid": "1a1b7a1c-f598-4d81-99e2-14e86e372fb5",
"prefixes": [
"0.0.0.0/0"
],
"arbor_cid": "",
"primary_network_name": ""
},
"billing_provider_account_id": "",
"tos_accepted_at": null,
"sfdc_subscription_id": "",
"crm_info": null,
"crm_details": null
}
}
},
"status": [
]
}