Download OpenAPI specification:Download
Documentation for the requested API routes
Creates a new employee record
name | string Employee name |
string Employee email | |
position | string Employee job title |
{- "name": "John Doe",
- "email": "john@email.com",
- "position": "Sanitation Engineer"
}
{- "message": "Successfully created new employee."
}
Update an employee record by ID
id required | number ID of the employee |
name | string Employee name |
string Employee email | |
position | string Employee job title |
{- "name": "John Doe",
- "email": "john@email.com",
- "position": "Sanitation Engineer"
}
{- "message": "Success!"
}
Retrieve current weather conditions for a specific city
city | string Name of city |
{- "city": "Grand Rapids"
}
{- "current": 34,
- "humidity": 80,
- "description": "Clouds, with a high of 36℉ and a low of 33℉. Humidity at 80% with winds around 8mph"
}
Retrieve recent charges, can request amount of days (default 30)
numDays | integer Example: numDays=30 Number of days to retrieve charges for (default is 30). |
{- "totalCharges": 1,
- "totalAmount": 12.34,
- "listOfCharges": [
- {
- "amount": 12.34,
- "currency": "usd",
- "description": "Test payment",
- "status": "succeeded"
}
]
}