Skip to content

Commit

Permalink
ReadMe: Updated to highlight the company ID in the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
reneemes committed Dec 19, 2024
1 parent e86fa4c commit d7e905a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ Successful response for users without saved contacts:
```

#### Create a contact with required and optional fields.
New contacts require a unique first and last name. All other fields are optional.
***New contacts require a unique first and last name. All other fields are optional.***

Request:
```
Expand Down Expand Up @@ -645,9 +645,11 @@ Status: 201 created
```
#### Create a contact with a company name from the dropdown box
***New contacts with company name require a unique first and last name, and company ID in the URI. All other fields are optional.***

Request:
```
POST api/v1/users/2/companies/2/contacts
POST api/v1/users/:user_id/companies/:company_id/contacts
Authorization: Bearer Token - put in token for user
Expand Down

0 comments on commit d7e905a

Please sign in to comment.