Repzo API - Day (1.0.0)

Download OpenAPI specification:Download

OpenAPI specification for Repzo Day endpoints.

Find days

query Parameters
object

Query parameters for filtering days

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "total_result": 0,
  • "current_count": 0,
  • "total_pages": 0,
  • "current_page": 0,
  • "per_page": 0
}

Create a day

Request Body schema: application/json
rep
required
string

Representative ID

date
required
string <date>

Date of the working day

startTime
string <time>

Start time of the day

notes
string

Additional notes for the day

object

Integration metadata

Responses

Request samples

Content type
application/json
{
  • "rep": "string",
  • "date": "2019-08-24",
  • "startTime": "14:15:22Z",
  • "notes": "string",
  • "integration_meta": { }
}

Response samples

Content type
application/json
{
  • "_id": "string",
  • "rep": "string",
  • "date": "2019-08-24",
  • "startTime": "14:15:22Z",
  • "endTime": "14:15:22Z",
  • "status": "open",
  • "visits": [
    ],
  • "orders": [
    ],
  • "activities": [
    ],
  • "summary": {
    },
  • "notes": "string",
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}

Get a day by ID

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "_id": "string",
  • "rep": "string",
  • "date": "2019-08-24",
  • "startTime": "14:15:22Z",
  • "endTime": "14:15:22Z",
  • "status": "open",
  • "visits": [
    ],
  • "orders": [
    ],
  • "activities": [
    ],
  • "summary": {
    },
  • "notes": "string",
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}