POST api/Visits/AddVisitFromPhoneAppointment?pCustNum={pCustNum}&pDline={pDline}&isInsurOverwrite={isInsurOverwrite}&quickAppoint={quickAppoint}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pCustNum | integer |
Required |
|
pDline | integer |
Required |
|
isInsurOverwrite | boolean |
Required |
|
quickAppoint | boolean |
Required |
Body Parameters
PhoneAppointmentInitialDataName | Description | Type | Additional information |
---|---|---|---|
DLine | integer |
None. |
|
DiaryNum | integer |
None. |
|
NeedFsurgByDiary | string |
None. |
|
NeedSmokerByDiary | string |
None. |
|
NotDifferentFsurg | string |
None. |
|
WithoutInsurOperPermitted | string |
None. |
|
Remark | string |
None. |
|
FSurg | EmployesRetriveResult |
None. |
|
FTech | EmployesRetriveResult |
None. |
|
Clerk | EmployesRetriveResult |
None. |
|
BranchCode | integer |
None. |
|
DepCode | integer |
None. |
|
InsurCode | integer |
None. |
|
DistrictCode | integer |
None. |
|
RoomCode | integer |
None. |
|
OperCodes | Collection of SimpleTableForClient |
None. |
|
OperCodesChosen | Collection of SimpleTableForClient |
None. |
|
ObligNum | string |
None. |
|
auto_remainder_time | time interval |
None. |
|
user_oper_time | time interval |
None. |
|
DefaultForm | integer |
None. |
|
Adviser | EmployesRetriveResult |
None. |
|
PrimeAdviser | EmployesRetriveResult |
None. |
|
AppClerk | EmployesRetriveResult |
None. |
|
Agent | EmployesRetriveResult |
None. |
|
TurnSurgLicence | string |
None. |
|
TurnSurgName | string |
None. |
|
ClinicCode | integer |
None. |
|
diaryname | string |
None. |
|
Ddate | date |
None. |
|
Dtime | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{ "DLine": 1, "DiaryNum": 1, "NeedFsurgByDiary": "sample string 1", "NeedSmokerByDiary": "sample string 2", "NotDifferentFsurg": "sample string 3", "WithoutInsurOperPermitted": "sample string 4", "Remark": "sample string 5", "FSurg": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "FTech": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "Clerk": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "BranchCode": 1, "DepCode": 1, "InsurCode": 1, "DistrictCode": 1, "RoomCode": 1, "OperCodes": [ { "InnerCode": 1, "UserCode": "sample string 1", "DispName": "sample string 2", "Active": "sample string 3", "GroupCode": 1, "AddDataName": "sample string 4", "SeriesQuan": 1, "AddDataValue": "sample string 5", "OperState": "sample string 6", "Color": "sample string 7" }, { "InnerCode": 1, "UserCode": "sample string 1", "DispName": "sample string 2", "Active": "sample string 3", "GroupCode": 1, "AddDataName": "sample string 4", "SeriesQuan": 1, "AddDataValue": "sample string 5", "OperState": "sample string 6", "Color": "sample string 7" } ], "OperCodesChosen": [ { "InnerCode": 1, "UserCode": "sample string 1", "DispName": "sample string 2", "Active": "sample string 3", "GroupCode": 1, "AddDataName": "sample string 4", "SeriesQuan": 1, "AddDataValue": "sample string 5", "OperState": "sample string 6", "Color": "sample string 7" }, { "InnerCode": 1, "UserCode": "sample string 1", "DispName": "sample string 2", "Active": "sample string 3", "GroupCode": 1, "AddDataName": "sample string 4", "SeriesQuan": 1, "AddDataValue": "sample string 5", "OperState": "sample string 6", "Color": "sample string 7" } ], "ObligNum": "sample string 6", "auto_remainder_time": "00:00:00.1234567", "user_oper_time": "00:00:00.1234567", "DefaultForm": 1, "Adviser": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "PrimeAdviser": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "AppClerk": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "Agent": { "code": 1, "nickname": "sample string 1", "last_name": "sample string 2", "first_name": "sample string 3", "active": "sample string 4" }, "TurnSurgLicence": "sample string 7", "TurnSurgName": "sample string 8", "ClinicCode": 1, "diaryname": "sample string 9", "Ddate": "2024-11-21T11:29:51.4725344+02:00", "Dtime": "00:00:00.1234567" }
application/xml, text/xml
Sample:
<PhoneAppointmentInitialData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical"> <Adviser> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </Adviser> <Agent> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </Agent> <AppClerk> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </AppClerk> <BranchCode>1</BranchCode> <Clerk> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </Clerk> <ClinicCode>1</ClinicCode> <DLine>1</DLine> <DefaultForm>1</DefaultForm> <DepCode>1</DepCode> <DiaryNum>1</DiaryNum> <DistrictCode>1</DistrictCode> <FSurg> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </FSurg> <FTech> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </FTech> <InsurCode>1</InsurCode> <NeedFsurgByDiary>sample string 1</NeedFsurgByDiary> <NeedSmokerByDiary>sample string 2</NeedSmokerByDiary> <NotDifferentFsurg>sample string 3</NotDifferentFsurg> <ObligNum>sample string 6</ObligNum> <OperCodes> <SimpleTableForClient> <Active>sample string 3</Active> <AddDataName>sample string 4</AddDataName> <AddDataValue>sample string 5</AddDataValue> <Color>sample string 7</Color> <DispName>sample string 2</DispName> <GroupCode>1</GroupCode> <InnerCode>1</InnerCode> <OperState>sample string 6</OperState> <SeriesQuan>1</SeriesQuan> <UserCode>sample string 1</UserCode> </SimpleTableForClient> <SimpleTableForClient> <Active>sample string 3</Active> <AddDataName>sample string 4</AddDataName> <AddDataValue>sample string 5</AddDataValue> <Color>sample string 7</Color> <DispName>sample string 2</DispName> <GroupCode>1</GroupCode> <InnerCode>1</InnerCode> <OperState>sample string 6</OperState> <SeriesQuan>1</SeriesQuan> <UserCode>sample string 1</UserCode> </SimpleTableForClient> </OperCodes> <OperCodesChosen> <SimpleTableForClient> <Active>sample string 3</Active> <AddDataName>sample string 4</AddDataName> <AddDataValue>sample string 5</AddDataValue> <Color>sample string 7</Color> <DispName>sample string 2</DispName> <GroupCode>1</GroupCode> <InnerCode>1</InnerCode> <OperState>sample string 6</OperState> <SeriesQuan>1</SeriesQuan> <UserCode>sample string 1</UserCode> </SimpleTableForClient> <SimpleTableForClient> <Active>sample string 3</Active> <AddDataName>sample string 4</AddDataName> <AddDataValue>sample string 5</AddDataValue> <Color>sample string 7</Color> <DispName>sample string 2</DispName> <GroupCode>1</GroupCode> <InnerCode>1</InnerCode> <OperState>sample string 6</OperState> <SeriesQuan>1</SeriesQuan> <UserCode>sample string 1</UserCode> </SimpleTableForClient> </OperCodesChosen> <PrimeAdviser> <active>sample string 4</active> <code>1</code> <first_name>sample string 3</first_name> <last_name>sample string 2</last_name> <nickname>sample string 1</nickname> </PrimeAdviser> <Remark>sample string 5</Remark> <RoomCode>1</RoomCode> <TurnSurgLicence>sample string 7</TurnSurgLicence> <TurnSurgName>sample string 8</TurnSurgName> <WithoutInsurOperPermitted>sample string 4</WithoutInsurOperPermitted> <auto_remainder_time>PT0.1234567S</auto_remainder_time> <diaryname>sample string 9</diaryname> <user_oper_time>PT0.1234567S</user_oper_time> </PhoneAppointmentInitialData>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.