POST api/minhal-nashim/Set?clientName={clientName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientName

string

Required

Body Parameters

MinhalNashimFormModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

MobilePhone

PhoneFormModel

None.

WorkPhone

PhoneFormModel

None.

HomePhone

PhoneFormModel

None.

Children

Collection of MinhalNashimChildFormModel

None.

Description

string

None.

Policy

boolean

None.

Signature

string

None.

Id

string

None.

BornDate

string

None.

MaritalStatus

string

None.

Role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "MobilePhone": {
    "Code": "sample string 1",
    "Number": "sample string 2"
  },
  "WorkPhone": {
    "Code": "sample string 1",
    "Number": "sample string 2"
  },
  "HomePhone": {
    "Code": "sample string 1",
    "Number": "sample string 2"
  },
  "Children": [
    {
      "Name": "sample string 1",
      "Address": {
        "StreetName": "sample string 1",
        "Home": 2,
        "HouseNumber": "sample string 3",
        "City": "sample string 4"
      },
      "SpouseId": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Address": {
        "StreetName": "sample string 1",
        "Home": 2,
        "HouseNumber": "sample string 3",
        "City": "sample string 4"
      },
      "SpouseId": "sample string 2"
    }
  ],
  "Description": "sample string 3",
  "Policy": true,
  "Signature": "sample string 5",
  "Id": "sample string 6",
  "BornDate": "sample string 7",
  "MaritalStatus": "sample string 8",
  "Role": "sample string 9"
}

application/xml, text/xml

Sample:
<MinhalNashimFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrmcAPI_Public.Models">
  <BornDate>sample string 7</BornDate>
  <Children>
    <MinhalNashimChildFormModel>
      <Address>
        <City>sample string 4</City>
        <Home>2</Home>
        <HouseNumber>sample string 3</HouseNumber>
        <StreetName>sample string 1</StreetName>
      </Address>
      <Name>sample string 1</Name>
      <SpouseId>sample string 2</SpouseId>
    </MinhalNashimChildFormModel>
    <MinhalNashimChildFormModel>
      <Address>
        <City>sample string 4</City>
        <Home>2</Home>
        <HouseNumber>sample string 3</HouseNumber>
        <StreetName>sample string 1</StreetName>
      </Address>
      <Name>sample string 1</Name>
      <SpouseId>sample string 2</SpouseId>
    </MinhalNashimChildFormModel>
  </Children>
  <Description>sample string 3</Description>
  <FirstName>sample string 1</FirstName>
  <HomePhone xmlns:d2p1="http://schemas.datacontract.org/2004/07/CrmcAPI_Public.Models.SubModels">
    <d2p1:Code>sample string 1</d2p1:Code>
    <d2p1:Number>sample string 2</d2p1:Number>
  </HomePhone>
  <Id>sample string 6</Id>
  <LastName>sample string 2</LastName>
  <MaritalStatus>sample string 8</MaritalStatus>
  <MobilePhone xmlns:d2p1="http://schemas.datacontract.org/2004/07/CrmcAPI_Public.Models.SubModels">
    <d2p1:Code>sample string 1</d2p1:Code>
    <d2p1:Number>sample string 2</d2p1:Number>
  </MobilePhone>
  <Policy>true</Policy>
  <Role>sample string 9</Role>
  <Signature>sample string 5</Signature>
  <WorkPhone xmlns:d2p1="http://schemas.datacontract.org/2004/07/CrmcAPI_Public.Models.SubModels">
    <d2p1:Code>sample string 1</d2p1:Code>
    <d2p1:Number>sample string 2</d2p1:Number>
  </WorkPhone>
</MinhalNashimFormModel>

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.