POST api/Payroll/wssavepartname

Request Information

URI Parameters

None.

Body Parameters

NamesDataModelResult
NameDescriptionTypeAdditional information
FirstName

string

None.

SecondName

string

None.

FirstSurname

string

None.

SecondSurname

string

None.

MarriedName

string

None.

Sex

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "SecondName": "sample string 2",
  "FirstSurname": "sample string 3",
  "SecondSurname": "sample string 4",
  "MarriedName": "sample string 5",
  "Sex": "sample string 6"
}

text/html

Sample:
{"FirstName":"sample string 1","SecondName":"sample string 2","FirstSurname":"sample string 3","SecondSurname":"sample string 4","MarriedName":"sample string 5","Sex":"sample string 6"}

application/xml, text/xml

Sample:
<NamesDataModelResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOnboarding.Models">
  <FirstName>sample string 1</FirstName>
  <FirstSurname>sample string 3</FirstSurname>
  <MarriedName>sample string 5</MarriedName>
  <SecondName>sample string 2</SecondName>
  <SecondSurname>sample string 4</SecondSurname>
  <Sex>sample string 6</Sex>
</NamesDataModelResult>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.