Create Contract Customer Using POST

Create Contract Customer Using POST

Create a customer, only support LPCaaS currently. Pre-authorized roles: Operations

Request
URI
POST
https://{api_host}//vcp.vmware.com/api/provider/v1/contracts/{contractId}/customers
COPY
Path Parameters
string
contractId
Required

Contract id

contractId example
630c2f68-xxxx-xxxx-xxxx-61f8245eaca1

Request Body
ContractCustomerBriefRequest of type(s) application/json
Optional
{
    "name": "Steven",
    "address1": "SW Ste 212 Manhattan DC",
    "address2": "1250 Canal Street Ave SW",
    "countryRegion": "US",
    "city": "New York",
    "state": "NY",
    "postalCode": 10041
}
string
name
Required

name

string
address1
Required

address1

string
address2
Optional

address2

string
countryRegion
Required

countryRegion

string
city
Optional

city

string
state
Optional

State is required when country/region is US

string
postalCode
Required

Zip/Postal Code

Responses
200

OK

Returns BriefCustomer of type(s) application/json
{
    "id": "c7240730-xxxx-xxxx-xxxx-250300000003",
    "customerNumber": 1000000001,
    "name": "Steven",
    "address1": "SW Ste 212 Manhattan DC",
    "address2": "1250 Canal Street Ave SW",
    "countryRegion": "US",
    "city": "New York",
    "state": "NY",
    "postalCode": 10041
}
string
id
Optional

id

string
customerNumber
Optional

End User ID

string
name
Optional

name

string
address1
Optional

address1

string
address2
Optional

address2

string
countryRegion
Optional

countryRegion

string
city
Optional

city

string
state
Optional

state

string
postalCode
Optional

Zip/Postal Code


400

Bad Request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure