Hi
I develop web service for passbook. When I'm adding a pass to passbook then my iPhone sends the following requests:
1. Register pass with DeviceID1
2. Get serial numbers
3. Get pass
and again
4. Register pass with DeviceID2
5. Get serial numbers
6. Get pass
So, two pass registration sequences for the same pass and the same iphone but with different device ids
Here is the log:
--------------------------------------------------------------
Jun 20 20:59:53 iPH5 sharingd[25] <Notice>: 20:59:53.620 : Stopping Handoff advertising
Jun 20 20:59:54 iPH5 passd[104] <Warning>: Verifying structure and signature for pass pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5
Jun 20 20:59:54 iPH5 passd[104] <Warning>: Signature validation: succeeded
Jun 20 20:59:55 iPH5 locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Jun 20 20:59:55 iPH5 passd[104] <Warning>: Generating POST request with URL <http://192.168.1.2/Pass.Processing.Web/v1/devices/532999323e2698e503b441a105860bdb/registrations/pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5>
Jun 20 20:59:55 iPH5 passd[104] <Warning>: Request contains header field <Authorization: ApplePass 8130E1F2-30F5-4EDC-AEA1-5016A2F55C5A>
Jun 20 20:59:55 iPH5 passd[104] <Warning>: Request contains body dictionary {
pushToken = c9a71632ab9acb479cdd42c20363cb88e6b24cd097f9f0227e5b79cfdd3788ff;
}
Jun 20 20:59:55 iPH5 passd[104] <Warning>: Register task (for device 532999323e2698e503b441a105860bdb, pass type pass.com.passlight.dev.test, serial number 22284c8e-b70e-4713-b757-c151652fcce5; with web service url http://192.168.1.2/Pass.Processing.Web) got response with code 201
Jun 20 20:59:55 iPH5 passd[104] <Warning>: Generating GET request with URL <http://192.168.1.2/Pass.Processing.Web/v1/devices/532999323e2698e503b441a105860bdb/registrations/pass.com.passlight.dev.test>
Jun 20 20:59:57 iPH5 passd[104] <Warning>: Get serial #s task (for device 532999323e2698e503b441a105860bdb, pass type pass.com.passlight.dev.test, last updated (null); with web service url http://192.168.1.2/Pass.Processing.Web) got response with code 200
Jun 20 20:59:57 iPH5 passd[104] <Warning>: Get serial numbers task completed with update tag 1434747272, serial numbers (
"22284c8e-b70e-4713-b757-c151652fcce5"
)
Jun 20 20:59:57 iPH5 passd[104] <Warning>: Generating GET request with URL <http://192.168.1.2/Pass.Processing.Web/v1/passes/pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5>
Jun 20 20:59:57 iPH5 passd[104] <Warning>: Request contains header field <Authorization: ApplePass 8130E1F2-30F5-4EDC-AEA1-5016A2F55C5A>
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Get pass task (pass type pass.com.passlight.dev.test, serial number 22284c8e-b70e-4713-b757-c151652fcce5, if-modified-since (null); with web service url http://192.168.1.2/Pass.Processing.Web) got response with code 200
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Verifying structure and signature for pass pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Signature validation: succeeded
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Verifying structure and signature for pass pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Signature validation: succeeded
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Generating POST request with URL <http://192.168.1.2/Pass.Processing.Web/v1/devices/4ee3d70c0969a040139cf201a9d5527c/registrations/pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5>
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Request contains header field <Authorization: ApplePass 8130E1F2-30F5-4EDC-AEA1-5016A2F55C5A>
Jun 20 21:00:00 iPH5 passd[104] <Warning>: Request contains body dictionary {
pushToken = c9a71632ab9acb479cdd42c20363cb88e6b24cd097f9f0227e5b79cfdd3788ff;
}
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Register task (for device 4ee3d70c0969a040139cf201a9d5527c, pass type pass.com.passlight.dev.test, serial number 22284c8e-b70e-4713-b757-c151652fcce5; with web service url http://192.168.1.2/Pass.Processing.Web/) got response with code 201
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Generating GET request with URL <http://192.168.1.2/Pass.Processing.Web/v1/devices/4ee3d70c0969a040139cf201a9d5527c/registrations/pass.com.passlight.dev.test>
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Get serial #s task (for device 4ee3d70c0969a040139cf201a9d5527c, pass type pass.com.passlight.dev.test, last updated (null); with web service url http://192.168.1.2/Pass.Processing.Web/) got response with code 200
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Get serial numbers task completed with update tag 1434747272, serial numbers (
"22284c8e-b70e-4713-b757-c151652fcce5"
)
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Generating GET request with URL <http://192.168.1.2/Pass.Processing.Web/v1/passes/pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5>
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Request contains header field <Authorization: ApplePass 8130E1F2-30F5-4EDC-AEA1-5016A2F55C5A>
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Get pass task (pass type pass.com.passlight.dev.test, serial number 22284c8e-b70e-4713-b757-c151652fcce5, if-modified-since (null); with web service url http://192.168.1.2/Pass.Processing.Web/) got response with code 200
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Verifying structure and signature for pass pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Signature validation: succeeded
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Verifying structure and signature for pass pass.com.passlight.dev.test/22284c8e-b70e-4713-b757-c151652fcce5
Jun 20 21:00:01 iPH5 passd[104] <Warning>: Signature validation: succeeded