You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/t/api-rest2/Utils/CreateCustomerContact.yaml

28 lines
588 B

---
#create CustomerContact
-
name: create CustomerContact
type: item
method: POST
path: '/api/customercontacts/'
header:
Content-Type: application/json
content: '${customercontact_content}'
retain:
customercontact_path: header.location
customercontact_id: header.location
conditions:
is:
code: 201
#get customercontact
-
name: GET customercontact
type: item
method: GET
path: '/${customercontact_path}'
retain:
customercontact: body
conditions:
is:
code: 200