POST api/Homes/{homeid}/ChangeRequests/{jobid}
Returns a successful response of change request inspection assignment for a given job and home from CRM. Note: Requires a valid access token to be provided in the request's auth header.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| homeid |
Guid. |
globally unique identifier |
Required |
| jobid |
Job Id. |
string |
Required |
Body Parameters
Entity.
Entity| Name | Description | Type | Additional information |
|---|---|---|---|
| LogicalName | string |
Optional |
|
| Id | globally unique identifier |
Optional |
|
| Attributes | Collection of Object |
Optional |
|
| EntityState | EntityState |
Optional |
|
| FormattedValues | Collection of Object |
Optional |
|
| RelatedEntities | Collection of Object |
Optional |
Request Formats
application/json, text/json
Sample not available.
Response Information
Resource Description
List of CrmJobs
CrmCRInspection| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Name of inspection. |
string |
Optional |
| Type |
Type of inspection. |
string |
Optional |
| InspectionId |
Id of inspection. |
string |
Optional |
| HomeObject |
Used to reference the related home in CRM. |
EntityReference |
Optional |
| AssignedInspector |
Inspector assigned to this inspection. |
CrmUser |
Optional |
| InspectionStatus |
Current status of the inspection. |
string |
Optional |
| OwnerId |
Id of the owner of the entity in CRM. |
EntityReference |
Optional |
| OriginalInspectionId |
Origional Inspection Id. |
string |
Optional |
| OriginalJobId |
Original Job Id. |
string |
Optional |
| ChangeRequestCallingUsers |
Change Request Calling Users. |
string |
Optional |
| CR |
List of CR Inspections. |
Collection of CrmCRInspection |
Optional |
| Reference |
Used to reference the entity in CRM. |
EntityReference |
Optional |
| SystemDate |
Current system date of the client that created this object. |
date |
Optional |
| CapturedDate |
Date and time the client created this object. |
date |
Optional |
Response Formats
application/json
Sample not available.
text/json
Sample not available.