---
schema_version: "1"
id: f0bb612b3b122576a82cb3e82477123f3dafc4791e661a833d39cc73f5e1064b
title: Create Visit Output
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/connect_responses_create_visit_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/connect_responses_create_visit_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: aca73f97fada6324431318eed64ce3f36b2a7f5a93e5b13cac152d9601dda6f9
description: Output representation of the create visit request.
---
# Create Visit Output

Output representation of the create visit request.

## JSON Example

{
  "code": "201",
  "errorCode": "",
  "errorMessage": "",
  "status": "Success",
  "visitId": "<visitId>"
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| code | String | Code returned by the create visit request. | Small, 55.0 | 55.0 |
| errorCode | String | Error code with information about the error. | Small, 55.0 | 55.0 |
| errorMessage | String | Message stating the reason for error, if any. | Small, 55.0 | 55.0 |
| status | String | Status of the create visit request. | Small, 55.0 | 55.0 |
| visitId | String | ID of the visit record that is created. | Small, 55.0 | 55.0 |