POST Equ/StandRepairSave

Request Information

URI Parameters

None.

Body Parameters

Equ_StandRepair
NameDescriptionTypeAdditional information
IId

integer

None.

StandardId

integer

None.

EquTypeId

integer

None.

Status

integer

None.

IsLinchpin

boolean

None.

WorkPostion

string

None.

CreateTime

date

None.

UserId

integer

None.

Remark

string

None.

TypeNo

string

None.

EName

string

None.

TypeName

string

None.

ImageUrl

string

None.

Files

Collection of Equ_StadartReqModel

None.

MyFiles

Collection of Equ_StadartReqModel

None.

Request Formats

application/json, text/json

Sample:
{
  "IId": 1,
  "StandardId": 1,
  "EquTypeId": 1,
  "Status": 1,
  "IsLinchpin": true,
  "WorkPostion": "sample string 2",
  "CreateTime": "2024-11-28 14:31:37",
  "UserId": 1,
  "Remark": "sample string 3",
  "TypeNo": "sample string 4",
  "EName": "sample string 5",
  "TypeName": "sample string 6",
  "ImageUrl": "sample string 7",
  "Files": [
    {
      "IId": 1,
      "FileName": "sample string 2",
      "OldName": "sample string 3"
    },
    {
      "IId": 1,
      "FileName": "sample string 2",
      "OldName": "sample string 3"
    }
  ],
  "MyFiles": [
    {
      "IId": 1,
      "FileName": "sample string 2",
      "OldName": "sample string 3"
    },
    {
      "IId": 1,
      "FileName": "sample string 2",
      "OldName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<Equ_StandRepair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
  <CreateTime>2024-11-28T14:31:37.0802479+08:00</CreateTime>
  <EName>sample string 5</EName>
  <EquTypeId>1</EquTypeId>
  <Files>
    <Equ_StadartReqModel>
      <FileName>sample string 2</FileName>
      <OldName>sample string 3</OldName>
      <IId>1</IId>
    </Equ_StadartReqModel>
    <Equ_StadartReqModel>
      <FileName>sample string 2</FileName>
      <OldName>sample string 3</OldName>
      <IId>1</IId>
    </Equ_StadartReqModel>
  </Files>
  <IId>1</IId>
  <ImageUrl>sample string 7</ImageUrl>
  <IsLinchpin>true</IsLinchpin>
  <MyFiles>
    <Equ_StadartReqModel>
      <FileName>sample string 2</FileName>
      <OldName>sample string 3</OldName>
      <IId>1</IId>
    </Equ_StadartReqModel>
    <Equ_StadartReqModel>
      <FileName>sample string 2</FileName>
      <OldName>sample string 3</OldName>
      <IId>1</IId>
    </Equ_StadartReqModel>
  </MyFiles>
  <Remark>sample string 3</Remark>
  <StandardId>1</StandardId>
  <Status>1</Status>
  <TypeName>sample string 6</TypeName>
  <TypeNo>sample string 4</TypeNo>
  <UserId>1</UserId>
  <WorkPostion>sample string 2</WorkPostion>
</Equ_StandRepair>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional 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>