POST api/TotalAyushCare/SaveMakeMaster

Documentation for 'SaveMakeMaster'.

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"
  },
  "MakeMasterDetails": {
    "MakeMasterID": "sample string 1",
    "Name": "sample string 2",
    "ContactPerson": "sample string 3",
    "Phone1": "sample string 4",
    "Phone2": "sample string 5",
    "Email": "sample string 6",
    "BankName": "sample string 7",
    "AccountNumber": "sample string 8",
    "IFSCCode": "sample string 9",
    "AccountName": "sample string 10",
    "AddBy": "sample string 11",
    "Action": "sample string 12",
    "Source": "sample string 13"
  }
}

application/xml, text/xml

Sample:
<MakeMasterRequest 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>
  <MakeMasterDetails>
    <AccountName>sample string 10</AccountName>
    <AccountNumber>sample string 8</AccountNumber>
    <Action>sample string 12</Action>
    <AddBy>sample string 11</AddBy>
    <BankName>sample string 7</BankName>
    <ContactPerson>sample string 3</ContactPerson>
    <Email>sample string 6</Email>
    <IFSCCode>sample string 9</IFSCCode>
    <MakeMasterID>sample string 1</MakeMasterID>
    <Name>sample string 2</Name>
    <Phone1>sample string 4</Phone1>
    <Phone2>sample string 5</Phone2>
    <Source>sample string 13</Source>
  </MakeMasterDetails>
</MakeMasterRequest>

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 'MakeMasterRequest'.

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",
  "MakeMasterID": "sample string 3"
}

application/xml, text/xml

Sample:
<MakeMasterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <MakeMasterID>sample string 3</MakeMasterID>
  <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>
</MakeMasterResponse>