POST DCSC/Save
Request Information
URI Parameters
None.
Body Parameters
SaveDCSCInputName | Description | Type | Additional information |
---|---|---|---|
Info | Lib_DCSC |
None. |
|
ItemList | Collection of Lib_DCSCDetail |
None. |
|
ActionUser | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Info": { "IID": 1, "ProjectName": "sample string 2", "ClientName": "sample string 3", "JobNo": "sample string 4", "Title": "sample string 5", "UnitNumber": "sample string 6", "DrawingNo": "sample string 7", "ReportNo": "sample string 8", "AddPerson": 1, "AddTime": "2024-11-28 14:40:28", "UpdatePerson": 1, "UpdateTime": "2024-11-28 14:40:28", "Remark": "sample string 9", "Preparedby": "sample string 10", "PreparedbyImg": "sample string 11", "Reviewedby": "sample string 12", "ReviewedbyImg": "sample string 13", "ReviewedDate": "2024-11-28 14:40:28", "LastReviewedby": "sample string 14", "LastReviewedbyImg": "sample string 15", "LastReviewedDate": "2024-11-28 14:40:28", "Company_Name": "sample string 16", "ProjectTypeName": "sample string 17", "DateOfInspection": "2024-11-28 14:40:28", "InspectionResult": "sample string 18", "BigImg": "sample string 19", "IsDelete": 1, "Logo_IMG": "sample string 20", "TemplateType": 1, "FileProjectIID": 1 }, "ItemList": [ { "IID": 1, "SorN": "sample string 2", "Drawing": "sample string 3", "BeforeWelding": "sample string 4", "AferWelding": "sample string 5", "Deviation": "sample string 6", "Accuracy": "sample string 7", "Tolerance": "sample string 8", "Result": "sample string 9", "DCSCIID": 10, "Point": "sample string 11" }, { "IID": 1, "SorN": "sample string 2", "Drawing": "sample string 3", "BeforeWelding": "sample string 4", "AferWelding": "sample string 5", "Deviation": "sample string 6", "Accuracy": "sample string 7", "Tolerance": "sample string 8", "Result": "sample string 9", "DCSCIID": 10, "Point": "sample string 11" } ], "ActionUser": 1 }
application/xml, text/xml
Sample:
<SaveDCSCInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request.DCSC"> <ActionUser>1</ActionUser> <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <d2p1:AddPerson>1</d2p1:AddPerson> <d2p1:AddTime>2024-11-28T14:40:28.143075+08:00</d2p1:AddTime> <d2p1:BigImg>sample string 19</d2p1:BigImg> <d2p1:ClientName>sample string 3</d2p1:ClientName> <d2p1:Company_Name>sample string 16</d2p1:Company_Name> <d2p1:DateOfInspection>2024-11-28T14:40:28.143075+08:00</d2p1:DateOfInspection> <d2p1:DrawingNo>sample string 7</d2p1:DrawingNo> <d2p1:FileProjectIID>1</d2p1:FileProjectIID> <d2p1:IID>1</d2p1:IID> <d2p1:InspectionResult>sample string 18</d2p1:InspectionResult> <d2p1:IsDelete>1</d2p1:IsDelete> <d2p1:JobNo>sample string 4</d2p1:JobNo> <d2p1:LastReviewedDate>2024-11-28T14:40:28.143075+08:00</d2p1:LastReviewedDate> <d2p1:LastReviewedby>sample string 14</d2p1:LastReviewedby> <d2p1:LastReviewedbyImg>sample string 15</d2p1:LastReviewedbyImg> <d2p1:Logo_IMG>sample string 20</d2p1:Logo_IMG> <d2p1:Preparedby>sample string 10</d2p1:Preparedby> <d2p1:PreparedbyImg>sample string 11</d2p1:PreparedbyImg> <d2p1:ProjectName>sample string 2</d2p1:ProjectName> <d2p1:ProjectTypeName>sample string 17</d2p1:ProjectTypeName> <d2p1:Remark>sample string 9</d2p1:Remark> <d2p1:ReportNo>sample string 8</d2p1:ReportNo> <d2p1:ReviewedDate>2024-11-28T14:40:28.143075+08:00</d2p1:ReviewedDate> <d2p1:Reviewedby>sample string 12</d2p1:Reviewedby> <d2p1:ReviewedbyImg>sample string 13</d2p1:ReviewedbyImg> <d2p1:TemplateType>1</d2p1:TemplateType> <d2p1:Title>sample string 5</d2p1:Title> <d2p1:UnitNumber>sample string 6</d2p1:UnitNumber> <d2p1:UpdatePerson>1</d2p1:UpdatePerson> <d2p1:UpdateTime>2024-11-28T14:40:28.143075+08:00</d2p1:UpdateTime> </Info> <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <d2p1:Lib_DCSCDetail> <d2p1:Accuracy>sample string 7</d2p1:Accuracy> <d2p1:AferWelding>sample string 5</d2p1:AferWelding> <d2p1:BeforeWelding>sample string 4</d2p1:BeforeWelding> <d2p1:DCSCIID>10</d2p1:DCSCIID> <d2p1:Deviation>sample string 6</d2p1:Deviation> <d2p1:Drawing>sample string 3</d2p1:Drawing> <d2p1:IID>1</d2p1:IID> <d2p1:Point>sample string 11</d2p1:Point> <d2p1:Result>sample string 9</d2p1:Result> <d2p1:SorN>sample string 2</d2p1:SorN> <d2p1:Tolerance>sample string 8</d2p1:Tolerance> </d2p1:Lib_DCSCDetail> <d2p1:Lib_DCSCDetail> <d2p1:Accuracy>sample string 7</d2p1:Accuracy> <d2p1:AferWelding>sample string 5</d2p1:AferWelding> <d2p1:BeforeWelding>sample string 4</d2p1:BeforeWelding> <d2p1:DCSCIID>10</d2p1:DCSCIID> <d2p1:Deviation>sample string 6</d2p1:Deviation> <d2p1:Drawing>sample string 3</d2p1:Drawing> <d2p1:IID>1</d2p1:IID> <d2p1:Point>sample string 11</d2p1:Point> <d2p1:Result>sample string 9</d2p1:Result> <d2p1:SorN>sample string 2</d2p1:SorN> <d2p1:Tolerance>sample string 8</d2p1:Tolerance> </d2p1:Lib_DCSCDetail> </ItemList> </SaveDCSCInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultName | Description | Type | Additional information |
---|---|---|---|
Success | integer |
None. |
|
Msg | string |
None. |
|
Token | string |
None. |
|
Key | string |
None. |
|
FileName | string |
None. |
|
FilePageCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": 1, "Msg": "sample string 2", "Token": "sample string 3", "Key": "sample string 4", "FileName": "sample string 5", "FilePageCount": 6 }
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models"> <FileName>sample string 5</FileName> <FilePageCount>6</FilePageCount> <Key>sample string 4</Key> <Msg>sample string 2</Msg> <Success>1</Success> <Token>sample string 3</Token> </BaseResult>