-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
I created a vendor with POST "/acvp/v1/vendors". The request was eventually approved with vendor url "/acvp/v1/vendors/11799".
I called PUT /acvp/v1/vendors/11799 with the following JSON put data.
[{
"acvVersion": "1.0"
}, {
"addresses": [{
"country": "US",
"locality": "Redmond",
"postalCode": "98054",
"region": "WA",
"street1": "950 148th Ave NE",
"street2": "Studio E"
}],
"emails": ["[email protected]"],
"name": "Microsoft Corp.",
"phoneNumbers": [{
"number": "(215) 964-2227",
"type": "voice"
}],
"website": "https://www.microsoft.com"
}]
When the request was approved, I checked the approvedUrl and my Vendor now looks like the following.
[
{
"acvVersion": "1.0"
},
{
"url": "/acvp/v1/vendors/11799",
"name": "Microsoft Corp.",
"website": "https://www.microsoft.com",
"emails": [
"[email protected]"
],
"contactsUrl": "/acvp/v1/vendors/11799/contacts",
"addresses": [
{
"url": "/acvp/v1/vendors/11799/addresses/11653",
"street1": "950 148th Ave NE",
"street2": "Studio E",
"locality": "Redmond",
"region": "WA",
"country": "US",
"postalCode": "98054"
}
]
}
]
The phoneNumbers array was lost. Is this a server bug or were the requests incorrect?
Metadata
Metadata
Assignees
Labels
No labels