POST api/Unit/SaveLegalDocImage?oldOwnerNumber={oldOwnerNumber}&newOwnerNumber={newOwnerNumber}&UnitId={UnitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
oldOwnerNumber

string

Required

newOwnerNumber

string

Required

UnitId

integer

Required

Body Parameters

Collection of RegistUnitLegalImageDTO
NameDescriptionTypeAdditional information
LegalCode

string

None.

LegalValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "LegalCode": "sample string 1",
    "LegalValue": "sample string 2"
  },
  {
    "LegalCode": "sample string 1",
    "LegalValue": "sample string 2"
  }
]

text/html

Sample:
[{"LegalCode":"sample string 1","LegalValue":"sample string 2"},{"LegalCode":"sample string 1","LegalValue":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRegistUnitLegalImageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">
  <RegistUnitLegalImageDTO>
    <LegalCode>sample string 1</LegalCode>
    <LegalValue>sample string 2</LegalValue>
  </RegistUnitLegalImageDTO>
  <RegistUnitLegalImageDTO>
    <LegalCode>sample string 1</LegalCode>
    <LegalValue>sample string 2</LegalValue>
  </RegistUnitLegalImageDTO>
</ArrayOfRegistUnitLegalImageDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of LegalDocImage
NameDescriptionTypeAdditional information
LegalDocImageId

integer

None.

UnitId

integer

Required

LegalDocCaptionId

integer

Required

TypeLegalDocCode

string

Required

Max length: 18

LegalDocImageName

string

Required

Max length: 50

ReuploadCounter

integer

Required

Unit

Unit

None.

RefLegalDocImageCaption

RefLegalDocImageCaption

None.

UserCreateRequestId

integer

None.

UserCreateOfficeId

integer

None.

UserCreateRoleId

integer

None.

UserUpdateRequestId

integer

None.

UsrCrt

string

Max length: 50

DtmCrt

date

None.

UsrUpd

string

Max length: 50

DtmUpd

date

None.

TimeStamp

Collection of byte

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/html

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.