POST api/admin/masters/AddOrEditMarriageTypeDocument

Request Information

URI Parameters

None.

Body Parameters

utblMstMarriageDocType
NameDescriptionTypeAdditional information
MarriageDocTypeID

integer

None.

MarriageDocTypeName

string

None.

AllowedDocuments

string

None.

IsActive

boolean

None.

IsRequired

boolean

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MarriageDocTypeID": 1,
  "MarriageDocTypeName": "sample string 2",
  "AllowedDocuments": "sample string 3",
  "IsActive": true,
  "IsRequired": true,
  "UserID": "sample string 6"
}

application/xml, text/xml

Sample:
<utblMstMarriageDocType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Married.Entities.models">
  <AllowedDocuments>sample string 3</AllowedDocuments>
  <IsActive>true</IsActive>
  <IsRequired>true</IsRequired>
  <MarriageDocTypeID>1</MarriageDocTypeID>
  <MarriageDocTypeName>sample string 2</MarriageDocTypeName>
  <UserID>sample string 6</UserID>
</utblMstMarriageDocType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfString
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Married.Entities.models">
  <Data>sample string 2</Data>
  <Message>sample string 3</Message>
  <Success>true</Success>
</ApiResponseOfstring>