POST api/TotalAyushCare/NutritionistRegister

Documentation for 'NutritionistRegister'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "LoginDetail": {
    "NutritionistId": "sample string 1",
    "NUserName": "sample string 2",
    "NPassword": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Phone": "sample string 6",
    "DOB": "sample string 7",
    "Sex": "sample string 8",
    "BloodGroup": "sample string 9",
    "Height": "sample string 10",
    "Weight": "sample string 11",
    "MaritalStatus": "sample string 12",
    "Occupation": "sample string 13",
    "Address1": "sample string 14",
    "Address2": "sample string 15",
    "City": "sample string 16",
    "Zip": "sample string 17",
    "State": "sample string 18",
    "Country": "sample string 19",
    "EducationalDetails": "sample string 20",
    "Remarks": "sample string 21",
    "Action": "sample string 22",
    "Source": "sample string 23"
  }
}

application/xml, text/xml

Sample:
<NutritionistRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <LoginDetail>
    <Action>sample string 22</Action>
    <Address1>sample string 14</Address1>
    <Address2>sample string 15</Address2>
    <BloodGroup>sample string 9</BloodGroup>
    <City>sample string 16</City>
    <Country>sample string 19</Country>
    <DOB>sample string 7</DOB>
    <EducationalDetails>sample string 20</EducationalDetails>
    <FirstName>sample string 4</FirstName>
    <Height>sample string 10</Height>
    <LastName>sample string 5</LastName>
    <MaritalStatus>sample string 12</MaritalStatus>
    <NPassword>sample string 3</NPassword>
    <NUserName>sample string 2</NUserName>
    <NutritionistId>sample string 1</NutritionistId>
    <Occupation>sample string 13</Occupation>
    <Phone>sample string 6</Phone>
    <Remarks>sample string 21</Remarks>
    <Sex>sample string 8</Sex>
    <Source>sample string 23</Source>
    <State>sample string 18</State>
    <Weight>sample string 11</Weight>
    <Zip>sample string 17</Zip>
  </LoginDetail>
</NutritionistRegisterRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2",
  "NutritionistID": "sample string 3"
}

application/xml, text/xml

Sample:
<NutritionistRegisterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <NutritionistID>sample string 3</NutritionistID>
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</NutritionistRegisterResponse>