Update an existing rule
put
/service/uploadsources/{uploadSourceCode}
This endpoint is used to update an existing upload sources.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
uploadSourceCode: string
key of the uploadsources Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing uploadsources
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmUploadSourceServiceDto-allOf[1]
Type:
Show Source
object-
baseDataFromFc(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$ -
sourceCode:
string
Minimum Length:
0Maximum Length:15Pattern:^[A-Z0-9*_]*$ -
sourceDesc(optional):
string
Minimum Length:
0Maximum Length:105 -
sysAuthReq(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated uploadsources
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmUploadSourceServiceDto-allOf[1]
Type:
Show Source
object-
baseDataFromFc(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$ -
sourceCode:
string
Minimum Length:
0Maximum Length:15Pattern:^[A-Z0-9*_]*$ -
sourceDesc(optional):
string
Minimum Length:
0Maximum Length:105 -
sysAuthReq(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$
Nested Schema : items
Type:
object400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error