본문으로 건너뛰기

내원객 이미지 등록

POST 

/image/open/v1/commands/register-visitor-images

내원객에 이미지를 등록합니다

Request

### Content-Type별 요청의 JSON Schema

{
"application/json": {
"schema": {
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fileName": {
"type": "string"
},
"visitorId": {
"type": "string"
},
"source": {
"enum": [
"VISITOR_IMAGE_SOURCE_UNSPECIFIED",
"HOSPITAL",
"VISITOR",
"AGREEMENT",
"PEN_CHART"
],
"type": "string",
"format": "enum"
},
"equipment": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"category": {
"enum": [
"CODE_CATEGORY_UNSPECIFIED",
"FUNNEL",
"EXPOSURE_CHANNEL",
"ETCETRA_PRODUCT_CATEGORY",
"IMAGE_EQUIPMENT",
"CALL_CONSULTATION_RESULT",
"IMAGE_CATEGORY",
"FUNNEL_CATEGORY",
"VISITOR_CATEGORY",
"ACCOUNT_STATUS"
],
"type": "string",
"format": "enum"
},
"name": {
"type": "string"
},
"order": {
"type": "integer",
"format": "int32"
},
"closed": {
"type": "boolean"
},
"color": {
"enum": [
"CodeColor_UNSPECIFIED",
"RED",
"LAVA",
"ORANGE",
"GREEN",
"CYAN",
"BLUE",
"PURPLE",
"MAGENTA",
"GRAY"
],
"type": "string",
"format": "enum"
},
"default": {
"type": "boolean"
}
},
"title": "protos.tenant.Code"
},
"scheduleId": {
"type": "string"
},
"shootingDateTimeUtc": {
"type": "string"
},
"memo": {
"type": "string"
},
"category": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"category": {
"enum": [
"CODE_CATEGORY_UNSPECIFIED",
"FUNNEL",
"EXPOSURE_CHANNEL",
"ETCETRA_PRODUCT_CATEGORY",
"IMAGE_EQUIPMENT",
"CALL_CONSULTATION_RESULT",
"IMAGE_CATEGORY",
"FUNNEL_CATEGORY",
"VISITOR_CATEGORY",
"ACCOUNT_STATUS"
],
"type": "string",
"format": "enum"
},
"name": {
"type": "string"
},
"order": {
"type": "integer",
"format": "int32"
},
"closed": {
"type": "boolean"
},
"color": {
"enum": [
"CodeColor_UNSPECIFIED",
"RED",
"LAVA",
"ORANGE",
"GREEN",
"CYAN",
"BLUE",
"PURPLE",
"MAGENTA",
"GRAY"
],
"type": "string",
"format": "enum"
},
"default": {
"type": "boolean"
}
},
"title": "protos.tenant.Code"
}
},
"description": "@examplen // error: InvalidCommandExceptionn // 메모의 길이가 150자가 넘을 경우 예외 반환n {n status: 400,n message: "InvalidCommandException",n className: "InvalidCommandException",n errorProperties: [n {n key: "memo"n reason: "TooLong"n },n ],n };",
"title": "protos.image.RegisterVisitorImageConfiguration"
}
}
},
"title": "protos.open.RegisterVisitorImages"
}
}
}

Responses

OK

### Status Code별 응답의 JSON Schema

{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {},
"title": "protos.Empty"
}
}
}
}
}