Customers API

Using the Customers API

API Description can be found in our Swagger docs here: https://app.swaggerhub.com/apis/ProdCamp/prodcamp_app/v1.0#/Customers/post_api_v1_Customers_accounts

get
Query parameters
PageNumberinteger · int32Optional
PageSizeinteger · int32Optional
OrderBystringOptional
FilterstringOptional
SearchstringOptional
NeedsCountInResponsebooleanOptional
Responses
200
Success
application/json
get
GET /api/v1/Customers/accounts HTTP/1.1
Host: app.prodcamp.com
Accept: */*
200

Success

{
  "items": [
    {
      "id": 1,
      "accountName": "text",
      "companyName": "text",
      "status": {
        "id": 1,
        "caption": "text"
      },
      "domains": [
        "text"
      ],
      "data": {
        "id": 1,
        "website": "text",
        "phone": "text",
        "annualRevenue": 1,
        "lifetimeValue": 1,
        "employeesCount": 1,
        "description": "text",
        "industry": "text",
        "type": "text",
        "subscription": "text",
        "accountLevel": "text",
        "signupDate": "2025-06-24T00:19:53.345Z",
        "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
        "timezone": "text"
      },
      "lastEditDate": "2025-06-24T00:19:53.345Z",
      "createdDate": "2025-06-24T00:19:53.345Z"
    }
  ],
  "pagesCount": 1,
  "pageSize": 1,
  "currentPage": 1,
  "totalItemsCount": 1
}
post
Body
accountNamestring | nullableOptional
domainsstring[] | nullableOptional
Responses
200
Success
application/json
post
POST /api/v1/Customers/accounts HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 346

{
  "accountName": "text",
  "domains": [
    "text"
  ],
  "data": {
    "id": 1,
    "website": "text",
    "phone": "text",
    "annualRevenue": 1,
    "lifetimeValue": 1,
    "employeesCount": 1,
    "description": "text",
    "industry": "text",
    "type": "text",
    "subscription": "text",
    "accountLevel": "text",
    "signupDate": "2025-06-24T00:19:53.345Z",
    "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
    "timezone": "text"
  }
}
{
  "contacts": [
    {
      "id": 1,
      "firstName": "text",
      "lastName": "text",
      "fullName": "text",
      "avatarUrl": "text",
      "email": "text",
      "additionalEmails": [
        "text"
      ],
      "phone": "text",
      "mobile": "text",
      "anotherPhone": "text",
      "title": "text",
      "department": "text",
      "companyName": "text",
      "account": {
        "id": 1,
        "accountName": "text",
        "companyName": "text",
        "status": {
          "id": 1,
          "caption": "text"
        },
        "domains": [
          "text"
        ],
        "data": {
          "id": 1,
          "website": "text",
          "phone": "text",
          "annualRevenue": 1,
          "lifetimeValue": 1,
          "employeesCount": 1,
          "description": "text",
          "industry": "text",
          "type": "text",
          "subscription": "text",
          "accountLevel": "text",
          "signupDate": "2025-06-24T00:19:53.345Z",
          "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
          "timezone": "text"
        },
        "lastEditDate": "2025-06-24T00:19:53.345Z",
        "createdDate": "2025-06-24T00:19:53.345Z"
      },
      "accountId": 1
    }
  ],
  "id": 1,
  "accountName": "text",
  "companyName": "text",
  "status": {
    "id": 1,
    "caption": "text"
  },
  "domains": [
    "text"
  ],
  "data": {
    "id": 1,
    "website": "text",
    "phone": "text",
    "annualRevenue": 1,
    "lifetimeValue": 1,
    "employeesCount": 1,
    "description": "text",
    "industry": "text",
    "type": "text",
    "subscription": "text",
    "accountLevel": "text",
    "signupDate": "2025-06-24T00:19:53.345Z",
    "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
    "timezone": "text"
  },
  "lastEditDate": "2025-06-24T00:19:53.345Z",
  "createdDate": "2025-06-24T00:19:53.345Z"
}
get
Path parameters
idinteger · int32Required
Responses
200
Success
application/json
get
GET /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
200

Success

{
  "contacts": [
    {
      "id": 1,
      "firstName": "text",
      "lastName": "text",
      "fullName": "text",
      "avatarUrl": "text",
      "email": "text",
      "additionalEmails": [
        "text"
      ],
      "phone": "text",
      "mobile": "text",
      "anotherPhone": "text",
      "title": "text",
      "department": "text",
      "companyName": "text",
      "account": {
        "id": 1,
        "accountName": "text",
        "companyName": "text",
        "status": {
          "id": 1,
          "caption": "text"
        },
        "domains": [
          "text"
        ],
        "data": {
          "id": 1,
          "website": "text",
          "phone": "text",
          "annualRevenue": 1,
          "lifetimeValue": 1,
          "employeesCount": 1,
          "description": "text",
          "industry": "text",
          "type": "text",
          "subscription": "text",
          "accountLevel": "text",
          "signupDate": "2025-06-24T00:19:53.345Z",
          "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
          "timezone": "text"
        },
        "lastEditDate": "2025-06-24T00:19:53.345Z",
        "createdDate": "2025-06-24T00:19:53.345Z"
      },
      "accountId": 1
    }
  ],
  "id": 1,
  "accountName": "text",
  "companyName": "text",
  "status": {
    "id": 1,
    "caption": "text"
  },
  "domains": [
    "text"
  ],
  "data": {
    "id": 1,
    "website": "text",
    "phone": "text",
    "annualRevenue": 1,
    "lifetimeValue": 1,
    "employeesCount": 1,
    "description": "text",
    "industry": "text",
    "type": "text",
    "subscription": "text",
    "accountLevel": "text",
    "signupDate": "2025-06-24T00:19:53.345Z",
    "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
    "timezone": "text"
  },
  "lastEditDate": "2025-06-24T00:19:53.345Z",
  "createdDate": "2025-06-24T00:19:53.345Z"
}
put
Path parameters
idinteger · int32Required
Body
idinteger · int32Optional
accountNamestringRequired
companyNamestring | nullableOptional
domainsstring[] | nullableOptional
lastEditDatestring · date-timeOptional
createdDatestring · date-timeOptional
Responses
200
Success
application/json
put
PUT /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 1257

{
  "contacts": [
    {
      "id": 1,
      "firstName": "text",
      "lastName": "text",
      "fullName": "text",
      "avatarUrl": "text",
      "email": "text",
      "additionalEmails": [
        "text"
      ],
      "phone": "text",
      "mobile": "text",
      "anotherPhone": "text",
      "title": "text",
      "department": "text",
      "companyName": "text",
      "account": {
        "id": 1,
        "accountName": "text",
        "companyName": "text",
        "status": {
          "id": 1,
          "caption": "text"
        },
        "domains": [
          "text"
        ],
        "data": {
          "id": 1,
          "website": "text",
          "phone": "text",
          "annualRevenue": 1,
          "lifetimeValue": 1,
          "employeesCount": 1,
          "description": "text",
          "industry": "text",
          "type": "text",
          "subscription": "text",
          "accountLevel": "text",
          "signupDate": "2025-06-24T00:19:53.345Z",
          "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
          "timezone": "text"
        },
        "lastEditDate": "2025-06-24T00:19:53.345Z",
        "createdDate": "2025-06-24T00:19:53.345Z"
      },
      "accountId": 1
    }
  ],
  "id": 1,
  "accountName": "text",
  "companyName": "text",
  "status": {
    "id": 1,
    "caption": "text"
  },
  "domains": [
    "text"
  ],
  "data": {
    "id": 1,
    "website": "text",
    "phone": "text",
    "annualRevenue": 1,
    "lifetimeValue": 1,
    "employeesCount": 1,
    "description": "text",
    "industry": "text",
    "type": "text",
    "subscription": "text",
    "accountLevel": "text",
    "signupDate": "2025-06-24T00:19:53.345Z",
    "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
    "timezone": "text"
  },
  "lastEditDate": "2025-06-24T00:19:53.345Z",
  "createdDate": "2025-06-24T00:19:53.345Z"
}
200

Success

{
  "contacts": [
    {
      "id": 1,
      "firstName": "text",
      "lastName": "text",
      "fullName": "text",
      "avatarUrl": "text",
      "email": "text",
      "additionalEmails": [
        "text"
      ],
      "phone": "text",
      "mobile": "text",
      "anotherPhone": "text",
      "title": "text",
      "department": "text",
      "companyName": "text",
      "account": {
        "id": 1,
        "accountName": "text",
        "companyName": "text",
        "status": {
          "id": 1,
          "caption": "text"
        },
        "domains": [
          "text"
        ],
        "data": {
          "id": 1,
          "website": "text",
          "phone": "text",
          "annualRevenue": 1,
          "lifetimeValue": 1,
          "employeesCount": 1,
          "description": "text",
          "industry": "text",
          "type": "text",
          "subscription": "text",
          "accountLevel": "text",
          "signupDate": "2025-06-24T00:19:53.345Z",
          "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
          "timezone": "text"
        },
        "lastEditDate": "2025-06-24T00:19:53.345Z",
        "createdDate": "2025-06-24T00:19:53.345Z"
      },
      "accountId": 1
    }
  ],
  "id": 1,
  "accountName": "text",
  "companyName": "text",
  "status": {
    "id": 1,
    "caption": "text"
  },
  "domains": [
    "text"
  ],
  "data": {
    "id": 1,
    "website": "text",
    "phone": "text",
    "annualRevenue": 1,
    "lifetimeValue": 1,
    "employeesCount": 1,
    "description": "text",
    "industry": "text",
    "type": "text",
    "subscription": "text",
    "accountLevel": "text",
    "signupDate": "2025-06-24T00:19:53.345Z",
    "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
    "timezone": "text"
  },
  "lastEditDate": "2025-06-24T00:19:53.345Z",
  "createdDate": "2025-06-24T00:19:53.345Z"
}
delete
Path parameters
idinteger · int32Required
Responses
200
Success
delete
DELETE /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*

No content

get
Query parameters
PageNumberinteger · int32Optional
PageSizeinteger · int32Optional
OrderBystringOptional
FilterstringOptional
SearchstringOptional
NeedsCountInResponsebooleanOptional
Responses
200
Success
application/json
get
GET /api/v1/Customers/contacts HTTP/1.1
Host: app.prodcamp.com
Accept: */*
200

Success

{
  "items": [
    {
      "id": 1,
      "firstName": "text",
      "lastName": "text",
      "fullName": "text",
      "avatarUrl": "text",
      "email": "text",
      "additionalEmails": [
        "text"
      ],
      "phone": "text",
      "mobile": "text",
      "anotherPhone": "text",
      "title": "text",
      "department": "text",
      "companyName": "text",
      "account": {
        "id": 1,
        "accountName": "text",
        "companyName": "text",
        "status": {
          "id": 1,
          "caption": "text"
        },
        "domains": [
          "text"
        ],
        "data": {
          "id": 1,
          "website": "text",
          "phone": "text",
          "annualRevenue": 1,
          "lifetimeValue": 1,
          "employeesCount": 1,
          "description": "text",
          "industry": "text",
          "type": "text",
          "subscription": "text",
          "accountLevel": "text",
          "signupDate": "2025-06-24T00:19:53.345Z",
          "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
          "timezone": "text"
        },
        "lastEditDate": "2025-06-24T00:19:53.345Z",
        "createdDate": "2025-06-24T00:19:53.345Z"
      },
      "accountId": 1
    }
  ],
  "pagesCount": 1,
  "pageSize": 1,
  "currentPage": 1,
  "totalItemsCount": 1
}
post
Body
idinteger · int32Optional
firstNamestring | nullableOptional
lastNamestring | nullableOptional
fullNamestring | nullableOptional
avatarUrlstring | nullableOptional
emailstring | nullableOptional
additionalEmailsstring[] | nullableOptional
phonestring | nullableOptional
mobilestring | nullableOptional
anotherPhonestring | nullableOptional
titlestring | nullableOptional
departmentstring | nullableOptional
companyNamestring | nullableOptional
accountIdinteger · int32 | nullableOptional
Responses
200
Success
application/json
post
POST /api/v1/Customers/contacts HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 751

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "fullName": "text",
  "avatarUrl": "text",
  "email": "text",
  "additionalEmails": [
    "text"
  ],
  "phone": "text",
  "mobile": "text",
  "anotherPhone": "text",
  "title": "text",
  "department": "text",
  "companyName": "text",
  "account": {
    "id": 1,
    "accountName": "text",
    "companyName": "text",
    "status": {
      "id": 1,
      "caption": "text"
    },
    "domains": [
      "text"
    ],
    "data": {
      "id": 1,
      "website": "text",
      "phone": "text",
      "annualRevenue": 1,
      "lifetimeValue": 1,
      "employeesCount": 1,
      "description": "text",
      "industry": "text",
      "type": "text",
      "subscription": "text",
      "accountLevel": "text",
      "signupDate": "2025-06-24T00:19:53.345Z",
      "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
      "timezone": "text"
    },
    "lastEditDate": "2025-06-24T00:19:53.345Z",
    "createdDate": "2025-06-24T00:19:53.345Z"
  },
  "accountId": 1
}
200

Success

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "fullName": "text",
  "avatarUrl": "text",
  "email": "text",
  "additionalEmails": [
    "text"
  ],
  "phone": "text",
  "mobile": "text",
  "anotherPhone": "text",
  "title": "text",
  "department": "text",
  "companyName": "text",
  "account": {
    "id": 1,
    "accountName": "text",
    "companyName": "text",
    "status": {
      "id": 1,
      "caption": "text"
    },
    "domains": [
      "text"
    ],
    "data": {
      "id": 1,
      "website": "text",
      "phone": "text",
      "annualRevenue": 1,
      "lifetimeValue": 1,
      "employeesCount": 1,
      "description": "text",
      "industry": "text",
      "type": "text",
      "subscription": "text",
      "accountLevel": "text",
      "signupDate": "2025-06-24T00:19:53.345Z",
      "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
      "timezone": "text"
    },
    "lastEditDate": "2025-06-24T00:19:53.345Z",
    "createdDate": "2025-06-24T00:19:53.345Z"
  },
  "accountId": 1
}
get
Path parameters
idinteger · int32Required
Responses
200
Success
application/json
get
GET /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
200

Success

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "fullName": "text",
  "avatarUrl": "text",
  "email": "text",
  "additionalEmails": [
    "text"
  ],
  "phone": "text",
  "mobile": "text",
  "anotherPhone": "text",
  "title": "text",
  "department": "text",
  "companyName": "text",
  "account": {
    "id": 1,
    "accountName": "text",
    "companyName": "text",
    "status": {
      "id": 1,
      "caption": "text"
    },
    "domains": [
      "text"
    ],
    "data": {
      "id": 1,
      "website": "text",
      "phone": "text",
      "annualRevenue": 1,
      "lifetimeValue": 1,
      "employeesCount": 1,
      "description": "text",
      "industry": "text",
      "type": "text",
      "subscription": "text",
      "accountLevel": "text",
      "signupDate": "2025-06-24T00:19:53.345Z",
      "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
      "timezone": "text"
    },
    "lastEditDate": "2025-06-24T00:19:53.345Z",
    "createdDate": "2025-06-24T00:19:53.345Z"
  },
  "accountId": 1
}
put
Path parameters
idinteger · int32Required
Body
idinteger · int32Optional
firstNamestring | nullableOptional
lastNamestring | nullableOptional
fullNamestring | nullableOptional
avatarUrlstring | nullableOptional
emailstring | nullableOptional
additionalEmailsstring[] | nullableOptional
phonestring | nullableOptional
mobilestring | nullableOptional
anotherPhonestring | nullableOptional
titlestring | nullableOptional
departmentstring | nullableOptional
companyNamestring | nullableOptional
accountIdinteger · int32 | nullableOptional
Responses
200
Success
application/json
put
PUT /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 751

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "fullName": "text",
  "avatarUrl": "text",
  "email": "text",
  "additionalEmails": [
    "text"
  ],
  "phone": "text",
  "mobile": "text",
  "anotherPhone": "text",
  "title": "text",
  "department": "text",
  "companyName": "text",
  "account": {
    "id": 1,
    "accountName": "text",
    "companyName": "text",
    "status": {
      "id": 1,
      "caption": "text"
    },
    "domains": [
      "text"
    ],
    "data": {
      "id": 1,
      "website": "text",
      "phone": "text",
      "annualRevenue": 1,
      "lifetimeValue": 1,
      "employeesCount": 1,
      "description": "text",
      "industry": "text",
      "type": "text",
      "subscription": "text",
      "accountLevel": "text",
      "signupDate": "2025-06-24T00:19:53.345Z",
      "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
      "timezone": "text"
    },
    "lastEditDate": "2025-06-24T00:19:53.345Z",
    "createdDate": "2025-06-24T00:19:53.345Z"
  },
  "accountId": 1
}
200

Success

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "fullName": "text",
  "avatarUrl": "text",
  "email": "text",
  "additionalEmails": [
    "text"
  ],
  "phone": "text",
  "mobile": "text",
  "anotherPhone": "text",
  "title": "text",
  "department": "text",
  "companyName": "text",
  "account": {
    "id": 1,
    "accountName": "text",
    "companyName": "text",
    "status": {
      "id": 1,
      "caption": "text"
    },
    "domains": [
      "text"
    ],
    "data": {
      "id": 1,
      "website": "text",
      "phone": "text",
      "annualRevenue": 1,
      "lifetimeValue": 1,
      "employeesCount": 1,
      "description": "text",
      "industry": "text",
      "type": "text",
      "subscription": "text",
      "accountLevel": "text",
      "signupDate": "2025-06-24T00:19:53.345Z",
      "firstPurchaseDate": "2025-06-24T00:19:53.345Z",
      "timezone": "text"
    },
    "lastEditDate": "2025-06-24T00:19:53.345Z",
    "createdDate": "2025-06-24T00:19:53.345Z"
  },
  "accountId": 1
}
delete
Path parameters
idinteger · int32Required
Responses
200
Success
delete
DELETE /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*

No content

Last updated

Was this helpful?