Get Contract Customer By Id Using GET

Get Contract Customer By Id Using GET

Get a customer identified by the customer id. Pre-authorized roles: Operations, Read Only

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

Contract id

contractId example
630c2f68-xxxx-xxxx-xxxx-61f8245eaca1
string
customerId
Required

Customer id

customerId example
c7240730-xxxx-xxxx-xxxx-250300000003

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