POST api/TimeTableManagement/ADURemoteBranch?pType={pType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pType | string |
Required |
Body Parameters
RemoteBranch| Name | Description | Type | Additional information |
|---|---|---|---|
| remote_branch_code | integer |
Required |
|
| remote_branch_name | string |
Required Max length: 50 |
|
| Ip_address | string |
Required Max length: 50 |
|
| user_name | string |
Required Max length: 50 |
|
| user_password | Collection of byte |
Required Max length: 200 |
|
| unCoveredPass | string |
None. |
|
| active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
| interface_code | string |
String length: inclusive between 0 and 10 |
|
| old_code | integer |
None. |
|
| RemoteDiaries | Collection of RemoteDiary |
None. |
Request Formats
application/json, text/json
Sample:
{
"remote_branch_code": 1,
"remote_branch_name": "sample string 2",
"Ip_address": "sample string 3",
"user_name": "sample string 4",
"user_password": "QEA=",
"unCoveredPass": "sample string 5",
"active": "sample string 6",
"interface_code": "sample string 7",
"old_code": 1,
"RemoteDiaries": [
{
"auto_code": 1,
"remote_diary_name": "sample string 2",
"diary_color": "sample string 3",
"remote_diary_code": 4,
"remote_branch_code": 5,
"doctor_or_room": "sample string 6",
"active": "sample string 7"
},
{
"auto_code": 1,
"remote_diary_name": "sample string 2",
"diary_color": "sample string 3",
"remote_diary_code": 4,
"remote_branch_code": 5,
"doctor_or_room": "sample string 6",
"active": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<RemoteBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Ip_address>sample string 3</Ip_address>
<RemoteDiaries>
<RemoteDiary>
<active>sample string 7</active>
<auto_code>1</auto_code>
<diary_color>sample string 3</diary_color>
<doctor_or_room>sample string 6</doctor_or_room>
<remote_branch_code>5</remote_branch_code>
<remote_diary_code>4</remote_diary_code>
<remote_diary_name>sample string 2</remote_diary_name>
</RemoteDiary>
<RemoteDiary>
<active>sample string 7</active>
<auto_code>1</auto_code>
<diary_color>sample string 3</diary_color>
<doctor_or_room>sample string 6</doctor_or_room>
<remote_branch_code>5</remote_branch_code>
<remote_diary_code>4</remote_diary_code>
<remote_diary_name>sample string 2</remote_diary_name>
</RemoteDiary>
</RemoteDiaries>
<active>sample string 6</active>
<interface_code>sample string 7</interface_code>
<old_code>1</old_code>
<remote_branch_code>1</remote_branch_code>
<remote_branch_name>sample string 2</remote_branch_name>
<unCoveredPass>sample string 5</unCoveredPass>
<user_name>sample string 4</user_name>
<user_password>QEA=</user_password>
</RemoteBranch>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
RemoteBranch| Name | Description | Type | Additional information |
|---|---|---|---|
| remote_branch_code | integer |
Required |
|
| remote_branch_name | string |
Required Max length: 50 |
|
| Ip_address | string |
Required Max length: 50 |
|
| user_name | string |
Required Max length: 50 |
|
| user_password | Collection of byte |
Required Max length: 200 |
|
| unCoveredPass | string |
None. |
|
| active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
| interface_code | string |
String length: inclusive between 0 and 10 |
|
| old_code | integer |
None. |
|
| RemoteDiaries | Collection of RemoteDiary |
None. |
Response Formats
application/json, text/json
Sample:
{
"remote_branch_code": 1,
"remote_branch_name": "sample string 2",
"Ip_address": "sample string 3",
"user_name": "sample string 4",
"user_password": "QEA=",
"unCoveredPass": "sample string 5",
"active": "sample string 6",
"interface_code": "sample string 7",
"old_code": 1,
"RemoteDiaries": [
{
"auto_code": 1,
"remote_diary_name": "sample string 2",
"diary_color": "sample string 3",
"remote_diary_code": 4,
"remote_branch_code": 5,
"doctor_or_room": "sample string 6",
"active": "sample string 7"
},
{
"auto_code": 1,
"remote_diary_name": "sample string 2",
"diary_color": "sample string 3",
"remote_diary_code": 4,
"remote_branch_code": 5,
"doctor_or_room": "sample string 6",
"active": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<RemoteBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Ip_address>sample string 3</Ip_address>
<RemoteDiaries>
<RemoteDiary>
<active>sample string 7</active>
<auto_code>1</auto_code>
<diary_color>sample string 3</diary_color>
<doctor_or_room>sample string 6</doctor_or_room>
<remote_branch_code>5</remote_branch_code>
<remote_diary_code>4</remote_diary_code>
<remote_diary_name>sample string 2</remote_diary_name>
</RemoteDiary>
<RemoteDiary>
<active>sample string 7</active>
<auto_code>1</auto_code>
<diary_color>sample string 3</diary_color>
<doctor_or_room>sample string 6</doctor_or_room>
<remote_branch_code>5</remote_branch_code>
<remote_diary_code>4</remote_diary_code>
<remote_diary_name>sample string 2</remote_diary_name>
</RemoteDiary>
</RemoteDiaries>
<active>sample string 6</active>
<interface_code>sample string 7</interface_code>
<old_code>1</old_code>
<remote_branch_code>1</remote_branch_code>
<remote_branch_name>sample string 2</remote_branch_name>
<unCoveredPass>sample string 5</unCoveredPass>
<user_name>sample string 4</user_name>
<user_password>QEA=</user_password>
</RemoteBranch>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.