POST api/User/AddClient

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
clientModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ClientID": 1,
  "StateID": 2,
  "ClientTypeID": 3,
  "ClientName": "sample string 4",
  "Address": "sample string 5",
  "Description": "sample string 6",
  "ClientTypeList": [
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    }
  ],
  "StateList": [
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models">
  <Address>sample string 5</Address>
  <ClientID>1</ClientID>
  <ClientName>sample string 4</ClientName>
  <ClientTypeID>3</ClientTypeID>
  <ClientTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
  </ClientTypeList>
  <Description>sample string 6</Description>
  <StateID>2</StateID>
  <StateList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
  </StateList>
</ClientInfoModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.