Subprojects
For authentication instructions, see API overview.
Endpoints
get
List all subprojects
Returns a list of subprojects. The subprojects are returned in sorted order, with the most recent appearing first.
Query parameters
limitintegerThe number of records to return
pageintegerThe page number
orderstringThe order of the records
sortBystringThe sort of the records
fieldsstringThe filter of the records
pstringpolicyFilters
qstringsearch query
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojectsResponse
No response schemapost
Create subproject
Create subproject. You need to pass through any required fields, and you can optionally pass through other fields.
Request body
subProjectNamestringsubProjectTypestringaddressstringcitystringstatestringcountrystringzipstringrentalOwnersarraybankInfostringmanagerstringprojectIdstringsubProjectImageUrlstringsubProjectLocationstringsubProjectNameArstringsubProjectDescstringsubProjectDescArstringpricenumberstartingPricenumbermaxPricenumber
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl -X POST -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojects \ -d 'subProjectName="test name"' \ -d 'subProjectType="test type"' \ -d 'address="address test"' \ -d 'city="City test"' \ -d 'state="State test"' \ -d 'country="country test"' \ -d 'zip="838dnc"' \ -d 'rentalOwners="array"' \ -d 'bankInfo="6318b76cd73a144774038653"' \ -d 'manager="test manager"' \ -d 'projectId="635e57e605b01336886aa8ed"' \ -d 'subProjectImageUrl="image"' \ -d 'subProjectLocation="location"' \ -d 'subProjectNameAr="name ar"' \ -d 'subProjectDesc="Desc"' \ -d 'subProjectDescAr="Desc AR"' \ -d 'price=12345' \ -d 'startingPrice=253' \ -d 'maxPrice=53485'Response
No response schemaget
Retrieve subproject
Returns a single subprojec, which you can request by passing through an id in the url.
Path parameters
idstringID of the subproject
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojects/:idResponse
No response schemaput
Update subproject
Path parameters
idstringID of the subproject
Request body
subProjectNamestringsubProjectTypestringaddressstringcitystringstatestringcountrystringzipstringrentalOwnersarraybankInfostringmanagerstringprojectIdstringsubProjectImageUrlstringsubProjectLocationstringsubProjectNameArstringsubProjectDescstringsubProjectDescArstringpricenumberstartingPricenumbermaxPricenumber
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl -X PUT \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojects/:id \ -d 'subProjectName="test name"' \ -d 'subProjectType="test type"' \ -d 'address="address test"' \ -d 'city="City test"' \ -d 'state="State test"' \ -d 'country="country test"' \ -d 'zip="838dnc"' \ -d 'rentalOwners="array"' \ -d 'bankInfo="6318b76cd73a144774038653"' \ -d 'manager="test manager"' \ -d 'projectId="635e57e605b01336886aa8ed"' \ -d 'subProjectImageUrl="image"' \ -d 'subProjectLocation="location"' \ -d 'subProjectNameAr="name ar"' \ -d 'subProjectDesc="Desc"' \ -d 'subProjectDescAr="Desc AR"' \ -d 'price=12345' \ -d 'startingPrice=253' \ -d 'maxPrice=53485'Response
No response schemapatch
Update subproject soft
Update subproject soft by setting the values of the parameters passed. Any parameters not set will be unchanged.
Path parameters
idstringID of the subproject
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojects/:idResponse
No response schemadelete
Delete subproject
Path parameters
idstringID of the subproject
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl -X DELETE \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/subprojects/:id