3.3.5.1.1 POST
The URL specified by the client in the HTTP request line of the POST request identifies the action point targeted for the client. The server can have multiple action points and different action points can have different access permissions associated with them. For example, some action points require HTTP access authentication (as specified in [RFC2616] section 11). Or, action points can also allow only clients that connect from a specific IP address.
The syntax of the GetAction request is defined as follows.
-
DSC-GetAction-Request = DSC-GetAction-Req-Line DSC-GetActionSetReq-Headers DSC-GetActionReq-Body DSC-GetAction-Req-Line = "POST" SP Request-URI SP HTTP-Version CRLF Request-URI = Request-URI-Start DSC-GetActionRequest-URI-End DSC-GetActionRequest-URI-End = "Action(ConfigurationId=" SQUOTE CONFIGURATIONID SQUOTE RBRACKET FSLASH "GetAction" SQUOTE = %x27 ; ' (Single Quote) RBRACKET = %x29 ; ) (Closing Bracket) FSLASH = %x2F ; / (Forward Slash) CONFIGURATIONID = UUID ; as specified in [RFC4122] DSC-GetActionSetReq-Headers = *( DSC-GetActionSetReq-Header-REQ / DSC-GetActionSetReq-Header-OPT ) DSC-GetActionSetReq-Header-REQ = Host ; section 14.23 of [RFC2616] / Accept ; section 14.1 of [RFC2616] / ContentType ; section 2.2.2.1.2 / Content-Length ; section 14.13 of [RFC2616] DSC-GetActionSetReq-Header-OPT = Connection ; section 14.10 of [RFC2616] / Expect ; section 14.20 of [RFC2616] DSC-GetActionReq-Body = ActionRequest ; section 3.1.5.1.1.1
The syntax of the GetAction response is defined as follows:
-
DSC-GetAction-Response = Status-Line DSC-GetActionResp-Headers DSC-GetActionResp-Body DSC-GetActionResp-Headers = *( DSC-GetActionResp-Header-REQ / DSC-GetActionResp-Header-OPT) DSC-GetActionResp-Header-REQ = Content-Length ; section 14.13 of [RFC2616] / Content-Type ; section 2.2.2.1.2 DSC-GetActionResp-Header-OPT = Server ; section 14.38 of [RFC2616] DSC-GetActionResp-Body = ActionContent ; section 3.3.5.1.1.2
The response message for this method can result in the following status codes.
Status code |
Description |
---|---|
200 |
Request completed. |
400 |
Bad request. |
404 |
The resource is not found. |