POST api/tpl/CreateFrame
Request Information
URI Parameters
None.
Body Parameters
Collection of CreateFrameInputName | Description | Type | Additional information |
---|---|---|---|
FrameId | string |
None. |
|
FrameName | string |
None. |
|
FrameType | integer |
None. |
|
SerialNo | integer |
None. |
|
ExamCourseId | string |
None. |
|
PageNo | integer |
None. |
|
X | integer |
None. |
|
Y | integer |
None. |
|
Width | integer |
None. |
|
Height | integer |
None. |
|
Setting | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "FrameId": "sample string 1", "FrameName": "sample string 2", "FrameType": 3, "SerialNo": 4, "ExamCourseId": "sample string 5", "PageNo": 6, "X": 7, "Y": 8, "Width": 9, "Height": 10, "Setting": "sample string 11" }, { "FrameId": "sample string 1", "FrameName": "sample string 2", "FrameType": 3, "SerialNo": 4, "ExamCourseId": "sample string 5", "PageNo": 6, "X": 7, "Y": 8, "Width": 9, "Height": 10, "Setting": "sample string 11" } ]
text/xml
Sample:
<ArrayOfCreateFrameInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Tpl.Dtos.InputDtos"> <CreateFrameInput> <ExamCourseId>sample string 5</ExamCourseId> <FrameId>sample string 1</FrameId> <FrameName>sample string 2</FrameName> <FrameType>3</FrameType> <Height>10</Height> <PageNo>6</PageNo> <SerialNo>4</SerialNo> <Setting>sample string 11</Setting> <Width>9</Width> <X>7</X> <Y>8</Y> </CreateFrameInput> <CreateFrameInput> <ExamCourseId>sample string 5</ExamCourseId> <FrameId>sample string 1</FrameId> <FrameName>sample string 2</FrameName> <FrameType>3</FrameType> <Height>10</Height> <PageNo>6</PageNo> <SerialNo>4</SerialNo> <Setting>sample string 11</Setting> <Width>9</Width> <X>7</X> <Y>8</Y> </CreateFrameInput> </ArrayOfCreateFrameInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResultName | Description | Type | Additional information |
---|---|---|---|
RetCode | integer |
None. |
|
Msg | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "RetCode": 1, "Msg": "sample string 2", "Result": {} }
text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking"> <Msg>sample string 2</Msg> <Result /> <RetCode>1</RetCode> </ServiceResult>