POST Supplier/SupplierStaff/AddOrUpdate

Request Information

URI Parameters

None.

Body Parameters

SupplierStaffDto
NameDescriptionTypeAdditional information
IID

integer

None.

Certificate_No

string

None.

Certificate_Type

string

None.

Create_UserId

integer

None.

Effective_Date

date

None.

MainID

integer

None.

Staff_Name

string

None.

SupplierFiles

Collection of SupplierFileDto

None.

IsOverdue

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IID": 1,
  "Certificate_No": "sample string 2",
  "Certificate_Type": "sample string 3",
  "Create_UserId": 1,
  "Effective_Date": "2026-04-16 20:04:02",
  "MainID": 1,
  "Staff_Name": "sample string 4",
  "SupplierFiles": [
    {
      "File_Name": "sample string 1",
      "File_Url": "sample string 2"
    },
    {
      "File_Name": "sample string 1",
      "File_Url": "sample string 2"
    }
  ],
  "IsOverdue": 5
}

application/xml, text/xml

Sample:
<SupplierStaffDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.SupplierModel">
  <Certificate_No>sample string 2</Certificate_No>
  <Certificate_Type>sample string 3</Certificate_Type>
  <Create_UserId>1</Create_UserId>
  <Effective_Date>2026-04-16T20:04:02.150058+08:00</Effective_Date>
  <IID>1</IID>
  <IsOverdue>5</IsOverdue>
  <MainID>1</MainID>
  <Staff_Name>sample string 4</Staff_Name>
  <SupplierFiles>
    <SupplierFileDto>
      <File_Name>sample string 1</File_Name>
      <File_Url>sample string 2</File_Url>
    </SupplierFileDto>
    <SupplierFileDto>
      <File_Name>sample string 1</File_Name>
      <File_Url>sample string 2</File_Url>
    </SupplierFileDto>
  </SupplierFiles>
</SupplierStaffDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SupplierStaffDto'.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

Key

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "Key": "sample string 4"
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <Key>sample string 4</Key>
  <Msg>sample string 2</Msg>
  <Success>1</Success>
  <Token>sample string 3</Token>
</BaseResult>