POST JointList/AddRelation
Request Information
URI Parameters
None.
Body Parameters
AddRelationInputName | Description | Type | Additional information |
---|---|---|---|
FileProjectIID | integer |
None. |
|
ProjectTypeName | string |
None. |
|
RelationIIDList | Collection of integer |
None. |
|
AddType | integer |
None. |
|
ActionUser | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FileProjectIID": 1, "ProjectTypeName": "sample string 2", "RelationIIDList": [ 1, 2 ], "AddType": 3, "ActionUser": 4 }
application/xml, text/xml
Sample:
<AddRelationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request.JointList"> <ActionUser>4</ActionUser> <AddType>3</AddType> <FileProjectIID>1</FileProjectIID> <ProjectTypeName>sample string 2</ProjectTypeName> <RelationIIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </RelationIIDList> </AddRelationInput>
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>